fix(vmm): make MMU bring-up and kernel mappings reliable
This commit is contained in:
@@ -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) {
|
||||
|
||||
Reference in New Issue
Block a user