Working kernel written on C and userspace-ready #1

Merged
sonya merged 61 commits from dev into main 2026-05-03 09:13:20 +00:00
Showing only changes of commit d0948b9f2b - Show all commits
+5
View File
@@ -1,8 +1,13 @@
#include "../Common/bootinfo.h"
#include <Arch/DTB.h>
#include <OS/Log.h>
#include <OS/Panic.h>
void KernelMain(Bootinfo* bootinfo) {
OSLog("Kernel started.\n");
if (bootinfo->magic != BOOTINFO_MAGIC) {
OSPanic("Invalid bootinfo magic");
}
DTBParse(bootinfo->dtb);
}