diff options
author | Robert Morris <[email protected]> | 2019-07-23 12:17:17 -0400 |
---|---|---|
committer | Robert Morris <[email protected]> | 2019-07-23 12:17:17 -0400 |
commit | 54178ad94d758e557bfa369b7f137e2844e030e1 (patch) | |
tree | cc2446a7d55d35e30f12f26e44aef68d285bfc91 /kernel/proc.h | |
parent | 55bc96d4190e40704fb5e447cef9597b08b8f088 (diff) | |
download | xv6-labs-54178ad94d758e557bfa369b7f137e2844e030e1.tar.gz xv6-labs-54178ad94d758e557bfa369b7f137e2844e030e1.tar.bz2 xv6-labs-54178ad94d758e557bfa369b7f137e2844e030e1.zip |
simplify kernel mapping calls
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 8f94d30..0b358aa 100644 --- a/kernel/proc.h +++ b/kernel/proc.h @@ -96,7 +96,7 @@ struct proc { int pid; // Process ID // these are private to the process, so p->lock need not be held. - char *kstack; // Bottom of kernel stack for this process + uint64 kstack; // Bottom of kernel stack for this process uint64 sz; // Size of process memory (bytes) pagetable_t pagetable; // Page table struct trapframe *tf; // data page for trampoline.S |