aboutsummaryrefslogtreecommitdiff
path: root/pk/entry.S
diff options
context:
space:
mode:
Diffstat (limited to 'pk/entry.S')
-rw-r--r--pk/entry.S2
1 files changed, 1 insertions, 1 deletions
diff --git a/pk/entry.S b/pk/entry.S
index 5bbf697..48db0d9 100644
--- a/pk/entry.S
+++ b/pk/entry.S
@@ -40,7 +40,7 @@
csrrw t0,sscratch,x0
csrr s0,sstatus
csrr t1,sepc
- csrr t2,sbadaddr
+ csrr t2,stval
csrr t3,scause
STORE t0,2*REGBYTES(x2)
STORE s0,32*REGBYTES(x2)