wm: teppich

ref: 9e35e814941b08fe29871f7cc8e925bf19ff5f7f
dir: /pc/kern.c/

View raw version
#include <u.h>
#include <libc.h>
#include <mem.h>
#include <cons.h>
#include <pccons.h>
#include "../cmd/rc.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();
	vga_puts("Teppich\n");
	
	rc_main();
}