summaryrefslogtreecommitdiff
path: root/kernel/proc.h
diff options
context:
space:
mode:
authorRobert Morris <[email protected]>2020-07-17 16:29:52 -0400
committerFrans Kaashoek <[email protected]>2020-08-10 11:19:10 -0400
commit5494c9170587b17c9d749e19753fa3e7fb6958b9 (patch)
tree610285e7a543272daaea525dd3eeada3ce7e6735 /kernel/proc.h
parent82981fab6bbd36dc0ff24201a11d365c4a2c6b1d (diff)
downloadxv6-labs-5494c9170587b17c9d749e19753fa3e7fb6958b9.tar.gz
xv6-labs-5494c9170587b17c9d749e19753fa3e7fb6958b9.tar.bz2
xv6-labs-5494c9170587b17c9d749e19753fa3e7fb6958b9.zip
rename p->tf to p->trapframe, for consistency with p->context
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 812c769..02e7bc3 100644
--- a/kernel/proc.h
+++ b/kernel/proc.h
@@ -98,7 +98,7 @@ struct proc {
uint64 kstack; // Virtual address of kernel stack
uint64 sz; // Size of process memory (bytes)
pagetable_t pagetable; // Page table
- struct trapframe *tf; // data page for trampoline.S
+ struct trapframe *trapframe; // data page for trampoline.S
struct context context; // swtch() here to run process
struct file *ofile[NOFILE]; // Open files
struct inode *cwd; // Current directory