summaryrefslogtreecommitdiff
path: root/src/kernel/panic.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/kernel/panic.h')
-rw-r--r--src/kernel/panic.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/src/kernel/panic.h b/src/kernel/panic.h
new file mode 100644
index 0000000..8972814
--- /dev/null
+++ b/src/kernel/panic.h
@@ -0,0 +1,4 @@
+#include <stdint.h>
+
+void panic(uint8_t *message) __attribute__ ((noreturn));
+void halt() __attribute__ ((noreturn)); \ No newline at end of file