ref: c2d48b328d4c3d0b91d657e89e2da3a97cd1b528
dir: /pc/kern.c/
#include <vga.h> #include <com.h> #include <ps2.h> /* abandon hope, all ye who enter here */ void panic(void) { vga_puts("panic: give up. it's over.\n"); com1_puts("panic: give up. it's over.\n"); } void kernel_main(void) { vga_init(WHITE, BLUE); vga_puts("check out serial console"); com1_puts("check out VGA console"); }