aboutsummaryrefslogtreecommitdiff
path: root/isa
diff options
context:
space:
mode:
Diffstat (limited to 'isa')
-rw-r--r--isa/rv64si/sbreak.S1
-rw-r--r--isa/rv64si/scall.S1
2 files changed, 2 insertions, 0 deletions
diff --git a/isa/rv64si/sbreak.S b/isa/rv64si/sbreak.S
index 8de8e15..475bf65 100644
--- a/isa/rv64si/sbreak.S
+++ b/isa/rv64si/sbreak.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
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