From fb7bec78e34c268f1d0c3880c9c0871118c690f1 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Axel=20D=C3=B6rfler?= Date: Fri, 17 Oct 2003 13:36:38 +0000 Subject: [PATCH] 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 --- headers/private/kernel/arch/vm_translation_map.h | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/headers/private/kernel/arch/vm_translation_map.h b/headers/private/kernel/arch/vm_translation_map.h index 20e9471bc6..147ed76ec8 100644 --- a/headers/private/kernel/arch/vm_translation_map.h +++ b/headers/private/kernel/arch/vm_translation_map.h @@ -9,6 +9,7 @@ #include #include + 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 #endif /* KERNEL_VM_TRANSLATION_MAP_H */