proc: page: add pgd_clone
Signed-off-by: Michael Shaw <m@michaelsshaw.com>
This commit is contained in:
parent
d7477ae860
commit
baf8c4c7e5
11 changed files with 143 additions and 32 deletions
|
|
@ -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;
|
||||
};
|
||||
|
|
|
|||
Loading…
Reference in a new issue