feat(arm64): higher-half kernel, early MMU in boot, and VMM

This commit is contained in:
karina
2026-04-26 21:47:41 +04:00
parent 3a55665bd7
commit b56b55e4b3
14 changed files with 485 additions and 55 deletions
+6 -2
View File
@@ -1,6 +1,7 @@
#include "../Common/bootinfo.h"
#include <VM/PMM.h>
#include <Arch/DTB.h>
#include <VM/PMM.h>
#include <VM/VMM.h>
#include <OS/Log.h>
#include <OS/Panic.h>
@@ -13,5 +14,8 @@ void KernelMain(Bootinfo* bootinfo) {
VMBootMemoryMap bootMap = {0};
bootMap.reservedCount = 0;
DTBParse(bootinfo->dtb, &bootMap);
PMMInitialize(&bootMap);
PMMInitialize(&bootMap, bootinfo);
VMMInitialize(&bootMap, bootinfo);
OSLog("Kernel initialized.\n");
}