ref: 314e6ae39dad35e4d77c9fa6eb99ee2f43a5bf4c
dir: /pc/kern.c/
#include <u.h> #include <libc.h> #include "../cmd/rc.h" #include <mem.h> #include <vga.h> #include <ps2.h> /* abandon hope, all ye who enter here */ void panic(void) { vga_puts("panic: give up. it's over.\n"); } void kernel_main(void) { /* set up memory map */ memset(memap, FREE, MEM_MAX * (1024 / BLOCKSIZE)); vga_init(); ps2_init(); printf("Teppich\n"); rc_main(); }