blob: e7eb330c47d02e76591e5f9515ed4a5ce2ac6928 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
|
#include <kernel/panic.h>
#include <libk/io.h>
#include <stdint.h>
#include <stddef.h>
static int panicked = 0;
void panic(const char *str) {
kprintf("KERNEL PANIC: %s\n", str);
panicked = 1;
while (1);
}
|