diff options
author | Yunsup Lee <yunsup@cs.berkeley.edu> | 2014-02-25 03:45:41 -0800 |
---|---|---|
committer | Yunsup Lee <yunsup@cs.berkeley.edu> | 2014-02-25 03:45:41 -0800 |
commit | 022660db7edd301f4dc6b387ca36d32596470550 (patch) | |
tree | 47e9450591d67b3daa00d931d9be1f208b702084 /p | |
parent | fba067ffed05ffff662cb280df822da2eaf12a0b (diff) | |
download | env-022660db7edd301f4dc6b387ca36d32596470550.zip env-022660db7edd301f4dc6b387ca36d32596470550.tar.gz env-022660db7edd301f4dc6b387ca36d32596470550.tar.bz2 |
make physical timer env work again
Diffstat (limited to 'p')
-rw-r--r-- | p/riscv_test.h | 2 |
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; \ //----------------------------------------------------------------------- |