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:
parent
db5620838a
commit
fb7bec78e3
@ -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 */
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user