aboutsummaryrefslogtreecommitdiff
path: root/isa/rv64si/scall.S
diff options
context:
space:
mode:
Diffstat (limited to 'isa/rv64si/scall.S')
-rw-r--r--isa/rv64si/scall.S1
1 files changed, 1 insertions, 0 deletions
diff --git a/isa/rv64si/scall.S b/isa/rv64si/scall.S
index 5dda6bb..eb6f1e6 100644
--- a/isa/rv64si/scall.S
+++ b/isa/rv64si/scall.S
@@ -17,6 +17,7 @@ RVTEST_CODE_BEGIN
#define sscratch mscratch
#define sstatus mstatus
#define scause mcause
+ #define stvec mtvec
#define sepc mepc
#define sret mret
#define stvec_handler mtvec_handler