From 8af67ec78dd2b47731cd86990cbb3cc8f1b304e8 Mon Sep 17 00:00:00 2001 From: Howard Mao Date: Mon, 28 Sep 2015 13:48:35 -0700 Subject: make sure TESTNUM is initialized --- p/riscv_test.h | 1 + 1 file changed, 1 insertion(+) 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; \ -- cgit v1.1