summaryrefslogtreecommitdiff
path: root/stage3/halt.c
blob: 10153672895570bd87006a9dd9f384b2ba57200e (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
#include "halt.h"
#include "font.h"
#include "pic.h"

[[noreturn]] void freeze()
{
	for (;;)
		wait_irq();
}

[[noreturn]] void panic(str msg)
{
	print(msg);
	freeze();
}