Created a new arch-specific vm_translation.h header - it's not included

in this file.
Moved the vm_translation_map_get_pgdir() function to the x86 specific
header.


git-svn-id: file:///srv/svn/repos/haiku/trunk/current@5066 a95241bf-73f2-0310-859d-f6bbb57e9c96
This commit is contained in:
Axel Dörfler 2003-10-17 13:36:38 +00:00
parent db5620838a
commit fb7bec78e3

View File

@ -9,6 +9,7 @@
#include <kernel.h>
#include <lock.h>
struct kernel_args;
@ -20,6 +21,7 @@ typedef struct vm_translation_map_struct {
struct vm_translation_map_arch_info_struct *arch_data;
} vm_translation_map;
// table of operations the vm may want to do to this mapping
typedef struct vm_translation_map_ops_struct {
void (*destroy)(vm_translation_map *);
@ -45,8 +47,7 @@ void vm_translation_map_module_init_post_sem(struct kernel_args *ka);
int vm_translation_map_quick_map(struct kernel_args *ka, addr va, addr pa,
unsigned int attributes, addr (*get_free_page)(kernel_args *));
// quick function to return the physical pgdir of a mapping, needed for a context switch
addr vm_translation_map_get_pgdir(vm_translation_map *map);
#include <arch_vm_translation_map.h>
#endif /* KERNEL_VM_TRANSLATION_MAP_H */