summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--p/riscv_test.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/p/riscv_test.h b/p/riscv_test.h
index 6e35b18..1cd0f4b 100644
--- a/p/riscv_test.h
+++ b/p/riscv_test.h
@@ -131,6 +131,7 @@ tvec_machine: \
_start: \
RISCV_MULTICORE_DISABLE; \
CHECK_XLEN; \
+ li TESTNUM, 0; \
la t0, stvec_handler; \
beqz t0, 1f; \
csrw stvec, t0; \