fix: preserve bootinfo pointer in kernel _start

This commit is contained in:
karina
2026-04-25 06:05:46 +04:00
parent 0d8b38a9b9
commit 730d88f9b0
2 changed files with 8 additions and 2 deletions
+4 -2
View File
@@ -1,5 +1,7 @@
#include <OS/Log.h>
#include "../Common/bootinfo.h"
void KernelMain(void) {
OSLog("Hi meow! ;3\n");
void KernelMain(Bootinfo* bootinfo) {
OSLog("DTB located at 0x%x\n", bootinfo->dtb);
OSLog("Kernel located at 0x%x\n", bootinfo->kernelInfo.kernelAddress);
}