summaryrefslogtreecommitdiff
path: root/pt/riscv_test.h
diff options
context:
space:
mode:
Diffstat (limited to 'pt/riscv_test.h')
-rw-r--r--pt/riscv_test.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/pt/riscv_test.h b/pt/riscv_test.h
index 0cc59be..3370ec2 100644
--- a/pt/riscv_test.h
+++ b/pt/riscv_test.h
@@ -55,12 +55,12 @@ evac: \
li a1,SR_IM; \
or a0,a0,a1; \
csrw status,a0; \
- csrs status,SR_EI; \
la a0,_handler; \
csrw evec,a0; \
csrw count,x0; \
addi a0,x0,100; \
csrw compare,a0; \
+ csrs status,SR_EI; \
#define XCPT_HANDLER \
_handler: \