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, 2 insertions, 0 deletions
diff --git a/p/riscv_test.h b/p/riscv_test.h
index 8953da1..ccf5860 100644
--- a/p/riscv_test.h
+++ b/p/riscv_test.h
@@ -76,6 +76,7 @@
csrr a0, hartid; \
1: bnez a0, 1b; \
+#define EXTRA_INIT_TIMER
#define EXTRA_INIT
#define RVTEST_CODE_BEGIN \
@@ -85,6 +86,7 @@
_start: \
RISCV_MULTICORE_DISABLE; \
init; \
+ EXTRA_INIT_TIMER; \
EXTRA_INIT; \
//-----------------------------------------------------------------------