wm: teppich

ref: 10784c7106b0538ad853c421daf33c0d6597ff5d
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);
}