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

View File

@@ -0,0 +1,14 @@
//
// Created by rick on 22-3-23.
//
#include <stdio.h>
#include <yak/platform/generic/platform.h>
void platform_init() {
printf("Init X86_64");
}
void __attribute__((noreturn)) halt_forever() {
__asm__("cli");
while (1) __asm__("hlt");
}