summaryrefslogtreecommitdiff
path: root/stage3/halt.c
diff options
context:
space:
mode:
Diffstat (limited to 'stage3/halt.c')
-rw-r--r--stage3/halt.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/stage3/halt.c b/stage3/halt.c
index b53a4f2..1015367 100644
--- a/stage3/halt.c
+++ b/stage3/halt.c
@@ -2,13 +2,13 @@
#include "font.h"
#include "pic.h"
-void freeze()
+[[noreturn]] void freeze()
{
for (;;)
wait_irq();
}
-void panic(str msg)
+[[noreturn]] void panic(str msg)
{
print(msg);
freeze();