xref: /haiku/headers/private/kernel/arch/vm.h (revision 2ae568931fcac7deb9f1e6ff4e47213fbfe4029b)
1 /*
2  * Copyright 2002-2005, Axel Dörfler, axeld@pinc-software.de.
3  * Distributed under the terms of the MIT License.
4  *
5  * Copyright 2001-2002, Travis Geiselbrecht. All rights reserved.
6  * Distributed under the terms of the NewOS License.
7  */
8 #ifndef KERNEL_ARCH_VM_H
9 #define KERNEL_ARCH_VM_H
10 
11 
12 #include <vm.h>
13 #include <arch_vm.h>
14 
15 
16 #ifdef __cplusplus
17 extern "C" {
18 #endif
19 
20 status_t arch_vm_init(struct kernel_args *args);
21 status_t arch_vm_init_post_area(struct kernel_args *args);
22 status_t arch_vm_init_end(struct kernel_args *args);
23 void arch_vm_aspace_swap(vm_address_space *aspace);
24 bool arch_vm_supports_protection(uint32 protection);
25 
26 #ifdef __cplusplus
27 }
28 #endif
29 
30 #endif	/* KERNEL_ARCH_VM_H */
31