mirror of
https://github.com/Tom-on64/kern.git
synced 2026-11-03 18:22:22 +00:00
8 lines
122 B
C
8 lines
122 B
C
#include <error/panic.h>
|
|
|
|
void panic() {
|
|
// TODO: print a message
|
|
while (1) { __asm__ volatile ("cli; hlt"); }
|
|
}
|
|
|