summaryrefslogtreecommitdiff
path: root/kernel/proc.h
diff options
context:
space:
mode:
authorRobert Morris <[email protected]>2019-07-23 12:17:17 -0400
committerRobert Morris <[email protected]>2019-07-23 12:17:17 -0400
commit54178ad94d758e557bfa369b7f137e2844e030e1 (patch)
treecc2446a7d55d35e30f12f26e44aef68d285bfc91 /kernel/proc.h
parent55bc96d4190e40704fb5e447cef9597b08b8f088 (diff)
downloadxv6-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.h2
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