xref: /haiku/headers/private/kernel/arch/x86/arch_vm_translation_map.h (revision 1214ef1b2100f2b3299fc9d8d6142e46f70a4c3f)
1 /*
2 ** Copyright 2003, Axel Dörfler, axeld@pinc-software.de. All rights reserved.
3 ** Distributed under the terms of the OpenBeOS License.
4 */
5 #ifndef _KERNEL_ARCH_x86_VM_TRANSLATION_MAP_H
6 #define _KERNEL_ARCH_x86_VM_TRANSLATION_MAP_H
7 
8 
9 #include <arch/vm_translation_map.h>
10 
11 
12 // quick function to return the physical pgdir of a mapping, needed for a context switch
13 #ifdef __cplusplus
14 extern "C"
15 #endif
16 void *i386_translation_map_get_pgdir(vm_translation_map *map);
17 
18 #endif /* _KERNEL_ARCH_x86_VM_TRANSLATION_MAP_H */
19