aboutsummaryrefslogtreecommitdiff
path: root/kernel/l0/kmain.c
blob: 74945e45921bffe1a31b866b9012095d5bb13791 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
#include <multiboot.h>
#include <config.h>
#include <dbglog.h>
#include <sys.h>
 
void kmain(struct multiboot_info_t *mbd, int32_t mb_magic) {
	dbglog_setup();

	dbg_printf("Hello, kernel World!\n");
	dbg_printf("This is %s, version %s.\n", OS_NAME, OS_VERSION);

	PANIC("Reached kmain end! Falling off the edge.");
}