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
This commit is contained in:
Axel Dörfler
2003-10-17 13:35:12 +00:00
parent 61897ef2b1
commit db5620838a
@@ -0,0 +1,18 @@
/*
** Copyright 2003, Axel Dörfler, [email protected]. 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 <arch/vm_translation_map.h>
// 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 */