feat(arm64): higher-half kernel, early MMU in boot, and VMM
This commit is contained in:
@@ -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");
|
||||
}
|
||||
Reference in New Issue
Block a user