wm: teppich

ref: fbbd09eb0b56768760764bcef1e90a2087da2e53
dir: /libc/panic.c/

View raw version
#include <u.h>
#include <cons.h>
#include <x86.h>

/* abandon hope, all ye who enter here */
void
panic(void)
{
	cons_write(pccons, "PANIC!\n");
	cons_write(serialcons, "PANIC!\n");
	outb(KBC, 0xFE);
}