summaryrefslogtreecommitdiff
path: root/sys/include/cpu.h
diff options
context:
space:
mode:
Diffstat (limited to 'sys/include/cpu.h')
-rw-r--r--sys/include/cpu.h10
1 files changed, 10 insertions, 0 deletions
diff --git a/sys/include/cpu.h b/sys/include/cpu.h
new file mode 100644
index 0000000..9567496
--- /dev/null
+++ b/sys/include/cpu.h
@@ -0,0 +1,10 @@
+#ifndef _CPU_H
+#define _CPU_H
+
+struct hart {
+ int intr_stack;
+};
+
+struct hart harts[NPROC] = {0};
+
+#endif /* _CPU_H */