xref: /haiku/headers/private/kernel/arch/x86/arch_vm_translation_map.h (revision 3be9edf8da228afd9fec0390f408c964766122aa)
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 #include <arch/vm_translation_map.h>
9 
10 
11 // quick function to return the physical pgdir of a mapping, needed for a context switch
12 #ifdef __cplusplus
13 extern "C"
14 #endif
15 void *i386_translation_map_get_pgdir(vm_translation_map *map);
16 
17 #endif /* _KERNEL_ARCH_x86_VM_TRANSLATION_MAP_H */
18