fix(vmm): make MMU bring-up and kernel mappings reliable

This commit is contained in:
karina
2026-04-26 23:41:57 +04:00
parent b56b55e4b3
commit 5d010f7fb2
8 changed files with 167 additions and 13 deletions
+1 -1
View File
@@ -29,7 +29,7 @@ enum {
static inline Address VMKernelVirtToPhys(Address virt) {
return virt - kVMKernelVMA;
return virt - 0xFFFFFFFF80100000 + 0x40100000; // TODO: hardcode is awful
}
static inline Address VMPhysToHHDM(Address phys) {