summaryrefslogtreecommitdiff
path: root/kernel/panic.c
blob: c75fafbf2af2d445ab10e1fc5635f2771e9cd753 (plain)
1
2
3
4
5
6
7
8
#include <kernel/panic.h>
#include <kernel/io.h>

void panic(const char *str) {
        kprintf("KERNEL PANIC\n");
        kprintf("ERROR: %s\n", str);
        while (1);
}