summaryrefslogtreecommitdiff
path: root/sys/include/cpu.h
diff options
context:
space:
mode:
authorstefan <stefan@s00.xyz>2023-04-08 20:42:18 -0400
committerstefan <stefan@s00.xyz>2023-04-08 20:42:18 -0400
commit1aac36f788834699b6891aea7a83eb950bd5e8f6 (patch)
tree18e0a6c26b83e71c101193e60149f49b1641daf0 /sys/include/cpu.h
parenta1a97aa7b2b0c3d1f3b6766446d605f83de1c561 (diff)
downloadsv-1aac36f788834699b6891aea7a83eb950bd5e8f6.tar.gz
no idea whot i changed lol
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 */