summaryrefslogtreecommitdiff
path: root/kernel/proc.h
diff options
context:
space:
mode:
authorMole Shang <[email protected]>2024-02-10 13:08:26 +0800
committerMole Shang <[email protected]>2024-02-10 13:08:26 +0800
commitc9284cd93525436cc823258ab309c1b27eeec714 (patch)
tree35782f7314100aa821823ee94cc5d28164af8000 /kernel/proc.h
parent283d5ab4c964ab525e45fcade06d6fd7e977c43e (diff)
downloadxv6-labs-c9284cd93525436cc823258ab309c1b27eeec714.tar.gz
xv6-labs-c9284cd93525436cc823258ab309c1b27eeec714.tar.bz2
xv6-labs-c9284cd93525436cc823258ab309c1b27eeec714.zip
lab pgtbl: finishpgtbl
Diffstat (limited to 'kernel/proc.h')
-rw-r--r--kernel/proc.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/kernel/proc.h b/kernel/proc.h
index 4a2ca6c..c816ae2 100644
--- a/kernel/proc.h
+++ b/kernel/proc.h
@@ -101,6 +101,7 @@ struct proc {
uint64 sz; // Size of process memory (bytes)
pagetable_t pagetable; // User page table
struct trapframe *trapframe; // data page for trampoline.S
+ struct usyscall *usyscall; // data page for usyscall
struct context context; // swtch() here to run process
struct file *ofile[NOFILE]; // Open files
struct inode *cwd; // Current directory