diff --git a/headers/private/kernel/arch/x86/arch_vm_translation_map.h b/headers/private/kernel/arch/x86/arch_vm_translation_map.h new file mode 100644 index 0000000000..e2bc10cc89 --- /dev/null +++ b/headers/private/kernel/arch/x86/arch_vm_translation_map.h @@ -0,0 +1,18 @@ +/* +** Copyright 2003, Axel Dörfler, axeld@pinc-software.de. All rights reserved. +** Distributed under the terms of the OpenBeOS License. +*/ +#ifndef _KERNEL_ARCH_x86_VM_TRANSLATION_MAP_H +#define _KERNEL_ARCH_x86_VM_TRANSLATION_MAP_H + + +#include + + +// quick function to return the physical pgdir of a mapping, needed for a context switch +#ifdef __cplusplus +extern "C" +#endif +void *i386_translation_map_get_pgdir(vm_translation_map *map); + +#endif /* _KERNEL_ARCH_x86_VM_TRANSLATION_MAP_H */