aboutsummaryrefslogtreecommitdiff
path: root/include/arch/cpu.h
diff options
context:
space:
mode:
Diffstat (limited to 'include/arch/cpu.h')
-rw-r--r--include/arch/cpu.h7
1 files changed, 6 insertions, 1 deletions
diff --git a/include/arch/cpu.h b/include/arch/cpu.h
index cf7abde..23b2911 100644
--- a/include/arch/cpu.h
+++ b/include/arch/cpu.h
@@ -8,7 +8,12 @@
*/
#include <apos/types.h>
-#include <cpu.h>
+
+#if defined(riscv64)
+#include "../../arch/riscv64/include/cpu.h"
+#elif defined(riscv32)
+#include "../../arch/riscv32/include/cpu.h"
+#endif
id_t cpu_id();
/* TODO: add more cpu handling functions */