summaryrefslogtreecommitdiff
path: root/kernel/memlayout.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/memlayout.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/memlayout.h')
-rw-r--r--kernel/memlayout.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/kernel/memlayout.h b/kernel/memlayout.h
index 8ffd538..b6e595d 100644
--- a/kernel/memlayout.h
+++ b/kernel/memlayout.h
@@ -62,6 +62,6 @@
// fixed-size stack
// expandable heap
// ...
-// TRAPFRAME (p->tf, used by the trampoline)
+// TRAPFRAME (p->trapframe, used by the trampoline)
// TRAMPOLINE (the same page as in the kernel)
#define TRAPFRAME (TRAMPOLINE - PGSIZE)