proc: page: add pgd_clone

Signed-off-by: Michael Shaw <m@michaelsshaw.com>
This commit is contained in:
Michael Shaw 2026-07-17 00:59:05 -04:00
commit baf8c4c7e5
11 changed files with 143 additions and 32 deletions

View file

@ -4,6 +4,8 @@
#include <kernel/types.h>
#include <kernel/spinlock.h>
#include <kernel/mem.h>
#include <kernel/page.h>
#include <lib/rbtree.h>
@ -43,6 +45,7 @@ struct proc {
rbtree_t vm_tree;
spinlock_t vm_lock;
pgd_t *pgd;
spinlock_t sched_lock;
};