commit 8cd4c8d007f49b64126702a632699af3cc9ecf41
parent 8197d4ef5e42be2f6f69512c8af8289cacc56fe1
Author: Brian Swetland <swetland@frotz.net>
Date: Sun, 15 May 2022 20:53:39 -0700
trap-entry-dual-stack: fix comment typo
Diffstat:
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/hw/src/trap-entry-dual-stack.S b/hw/src/trap-entry-dual-stack.S
@@ -73,7 +73,7 @@ trap_exit:
addi t0, sp, (32 * 4)
csrw sscratch, t0
- // user sp goes into sepc for sret
+ // user pc goes into sepc for sret
lw t0, 0x40(sp)
csrw sepc, t0