feat: initial booting kernel, copy libc stuff from myke

This commit is contained in:
2023-03-22 21:02:22 +01:00
parent 591b6d61c5
commit 61fb439d72
26 changed files with 791 additions and 220 deletions

13
yak-kernel/src/rt/kmain.c Normal file
View File

@@ -0,0 +1,13 @@
#include <yak/rt/kmain.h>
#include <yak/rt/panic.h>
#include "yak/platform/generic/platform.h"
void kmain() {
// kmain is called from one of the bootloader implementations
// perform platform specific initialisation
platform_init();
// this should (eventually) be unreachable
panic("End of kmain");
}