summaryrefslogtreecommitdiff
path: root/kernel/proc.h
diff options
context:
space:
mode:
authorRobert Morris <[email protected]>2022-08-09 12:14:29 -0400
committerRobert Morris <[email protected]>2022-08-09 12:14:29 -0400
commitcf0c095721b22b8ce011484a2509cd27858cbe77 (patch)
tree10363cb3a1fe3ca06d9ff41a2fe6fbb0a7da8fd6 /kernel/proc.h
parent9fc9f755e1f9ec56a452b334f6112028e0ec0329 (diff)
downloadxv6-labs-cf0c095721b22b8ce011484a2509cd27858cbe77.tar.gz
xv6-labs-cf0c095721b22b8ce011484a2509cd27858cbe77.tar.bz2
xv6-labs-cf0c095721b22b8ce011484a2509cd27858cbe77.zip
sscratch cleanup
Diffstat (limited to 'kernel/proc.h')
-rw-r--r--kernel/proc.h1
1 files changed, 0 insertions, 1 deletions
diff --git a/kernel/proc.h b/kernel/proc.h
index f6ca8b7..d021857 100644
--- a/kernel/proc.h
+++ b/kernel/proc.h
@@ -31,7 +31,6 @@ extern struct cpu cpus[NCPU];
// per-process data for the trap handling code in trampoline.S.
// sits in a page by itself just under the trampoline page in the
// user page table. not specially mapped in the kernel page table.
-// the sscratch register points here.
// uservec in trampoline.S saves user registers in the trapframe,
// then initializes registers from the trapframe's
// kernel_sp, kernel_hartid, kernel_satp, and jumps to kernel_trap.