diff options
Diffstat (limited to 'src/kernel/arch/generic.h')
-rw-r--r-- | src/kernel/arch/generic.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/kernel/arch/generic.h b/src/kernel/arch/generic.h index 3e98001..a9e1ac9 100644 --- a/src/kernel/arch/generic.h +++ b/src/kernel/arch/generic.h @@ -35,6 +35,8 @@ void pagedir_map(struct pagedir *dir, void __user *virt, void *phys, bool user, bool writeable); bool pagedir_iskern(struct pagedir *, const void __user *virt); +void __user *pagedir_findfree(struct pagedir *dir, char __user *start, size_t len); + void pagedir_switch(struct pagedir *); // return 0 on failure |