wm: teppich

ref: 7465ef2dfc96bcfdd74df3fedbebca033c928cc9
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);
}