aboutsummaryrefslogtreecommitdiff
path: root/include/arch/timer.h
diff options
context:
space:
mode:
Diffstat (limited to 'include/arch/timer.h')
-rw-r--r--include/arch/timer.h6
1 files changed, 6 insertions, 0 deletions
diff --git a/include/arch/timer.h b/include/arch/timer.h
index b4b2197..a94fda4 100644
--- a/include/arch/timer.h
+++ b/include/arch/timer.h
@@ -9,6 +9,12 @@
#include <apos/timer.h>
+#if defined(riscv64)
+#include "../../arch/riscv64/include/timer.h"
+#elif defined(riscv32)
+#include "../../arch/riscv32/include/timer.h"
+#endif
+
/* return hardware timer frequency */
ticks_t stat_timer();