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 3ab21b4..1427658 100644 --- a/src/kernel/arch/generic.h +++ b/src/kernel/arch/generic.h @@ -21,8 +21,10 @@ int syscall_handler(int, int, int, int); // all of those can allocate memory struct pagedir *pagedir_new(); +struct pagedir *pagedir_copy(const struct pagedir *orig); void pagedir_map(struct pagedir *dir, void *virt, void *phys, bool user, bool writeable); + void pagedir_switch(struct pagedir *); // return 0 on failure |