summaryrefslogtreecommitdiff
path: root/stage3/halt.c
diff options
context:
space:
mode:
Diffstat (limited to 'stage3/halt.c')
-rw-r--r--stage3/halt.c7
1 files changed, 7 insertions, 0 deletions
diff --git a/stage3/halt.c b/stage3/halt.c
index 63ad8e2..39bc3c9 100644
--- a/stage3/halt.c
+++ b/stage3/halt.c
@@ -1,7 +1,14 @@
#include "halt.h"
+#include "font.h"
void halt()
{
for (;;)
;
}
+
+void panic(char *msg)
+{
+ print(msg);
+ halt();
+}