Files
haiku-beta6/headers/private/kernel/arch/vm.h
T

42 lines
988 B
C
Raw Normal View History

2002-07-09 12:24:59 +00:00
/*
* Copyright 2002-2007, Axel Dörfler, [email protected].
2004-12-10 18:48:31 +00:00
* Distributed under the terms of the MIT License.
*
* Copyright 2001-2002, Travis Geiselbrecht. All rights reserved.
* Distributed under the terms of the NewOS License.
*/
2003-05-03 14:12:16 +00:00
#ifndef KERNEL_ARCH_VM_H
#define KERNEL_ARCH_VM_H
2002-07-09 12:24:59 +00:00
2004-12-10 18:48:31 +00:00
#include <arch_vm.h>
2002-07-09 12:24:59 +00:00
#include <SupportDefs.h>
struct kernel_args;
struct vm_area;
struct vm_address_space;
2003-05-03 14:12:16 +00:00
#ifdef __cplusplus
extern "C" {
#endif
2002-07-09 12:24:59 +00:00
status_t arch_vm_init(struct kernel_args *args);
status_t arch_vm_init_post_area(struct kernel_args *args);
status_t arch_vm_init_end(struct kernel_args *args);
status_t arch_vm_init_post_modules(struct kernel_args *args);
void arch_vm_aspace_swap(struct vm_address_space *aspace);
bool arch_vm_supports_protection(uint32 protection);
status_t arch_vm_set_memory_type(struct vm_area *area, addr_t physicalBase,
uint32 type);
void arch_vm_unset_memory_type(struct vm_area *area);
2002-07-09 12:24:59 +00:00
#ifdef __cplusplus
}
#endif
2003-05-03 14:12:16 +00:00
#endif /* KERNEL_ARCH_VM_H */