aboutsummaryrefslogtreecommitdiff
path: root/arch/riscv/kernel/cpu.c
diff options
context:
space:
mode:
Diffstat (limited to 'arch/riscv/kernel/cpu.c')
-rw-r--r--arch/riscv/kernel/cpu.c6
1 files changed, 6 insertions, 0 deletions
diff --git a/arch/riscv/kernel/cpu.c b/arch/riscv/kernel/cpu.c
new file mode 100644
index 0000000..34b7a32
--- /dev/null
+++ b/arch/riscv/kernel/cpu.c
@@ -0,0 +1,6 @@
+#include <apos/cpu.h>
+
+unsigned cpu_id()
+{
+ return 0; /* VERY MUCH TEMP */
+}