forked from PoliEcho-holding-org/kern
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"); }
|
|
}
|
|
|