From db5620838a4b6270cd51252e872dac6cdcca51f0 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Axel=20D=C3=B6rfler?= Date: Fri, 17 Oct 2003 13:35:12 +0000 Subject: [PATCH] Moved the vm_translation_map_get_pgdir() function from arch/vm_translation_map.h into this file (and replaced the prefix with i386_). git-svn-id: file:///srv/svn/repos/haiku/trunk/current@5065 a95241bf-73f2-0310-859d-f6bbb57e9c96 --- .../kernel/arch/x86/arch_vm_translation_map.h | 18 ++++++++++++++++++ 1 file changed, 18 insertions(+) create mode 100644 headers/private/kernel/arch/x86/arch_vm_translation_map.h 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 */