diff options
author | Robert Morris <[email protected]> | 2020-08-07 05:32:48 -0400 |
---|---|---|
committer | Frans Kaashoek <[email protected]> | 2020-08-10 11:19:10 -0400 |
commit | 7f35d7a14efe56905d340a0e318f01c7c514320d (patch) | |
tree | bc1203ec6dc250f6f9671d9881329e5ab22a069a /kernel/proc.h | |
parent | 2ae9c8e2722282d9a619c1745d845fb5d862c518 (diff) | |
download | xv6-labs-7f35d7a14efe56905d340a0e318f01c7c514320d.tar.gz xv6-labs-7f35d7a14efe56905d340a0e318f01c7c514320d.tar.bz2 xv6-labs-7f35d7a14efe56905d340a0e318f01c7c514320d.zip |
modify each page in usertests countfree()
get rid of static for walk() and freewalk()
Diffstat (limited to 'kernel/proc.h')
-rw-r--r-- | kernel/proc.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/kernel/proc.h b/kernel/proc.h index c257eb7..9c16ea7 100644 --- a/kernel/proc.h +++ b/kernel/proc.h @@ -97,7 +97,7 @@ struct proc { // these are private to the process, so p->lock need not be held. uint64 kstack; // Virtual address of kernel stack uint64 sz; // Size of process memory (bytes) - pagetable_t pagetable; // Page table + pagetable_t pagetable; // User page table struct trapframe *trapframe; // data page for trampoline.S struct context context; // swtch() here to run process struct file *ofile[NOFILE]; // Open files |