summaryrefslogtreecommitdiff
path: root/p/riscv_test.h
diff options
context:
space:
mode:
Diffstat (limited to 'p/riscv_test.h')
-rw-r--r--p/riscv_test.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/p/riscv_test.h b/p/riscv_test.h
index 88ca6c1..2b6ff83 100644
--- a/p/riscv_test.h
+++ b/p/riscv_test.h
@@ -115,11 +115,11 @@
1:
#define DELEGATE_NO_TRAPS \
+ csrwi mie, 0; \
la t0, 1f; \
csrw mtvec, t0; \
csrwi medeleg, 0; \
csrwi mideleg, 0; \
- csrwi mie, 0; \
.align 2; \
1: