summaryrefslogtreecommitdiff
path: root/src/panic.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/panic.c')
-rw-r--r--src/panic.c8
1 files changed, 8 insertions, 0 deletions
diff --git a/src/panic.c b/src/panic.c
new file mode 100644
index 0000000..5b17b04
--- /dev/null
+++ b/src/panic.c
@@ -0,0 +1,8 @@
+#include "aplos.h"
+
+void
+panic(void)
+{
+ print(u8"--- PANIC ---\n");
+ halt();
+}