wm: teppich

ref: 41c7b8cc5ebc3000271bc6b5d9931cc959a8d663
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);
}