chore: general cleanup in code (removed unused includes and cosmetic stuff
This commit is contained in:
@@ -25,11 +25,12 @@ enum {
|
||||
kVMKernelVMA = 0xFFFFFFFF80000000,
|
||||
kHHDMOffset = 0xFFFF888000000000,
|
||||
kVMFbVirtBase = 0xFFFFFFFFFC000000,
|
||||
kKernelPhysBase = 0x40100000,
|
||||
};
|
||||
|
||||
|
||||
static inline Address VMKernelVirtToPhys(Address virt) {
|
||||
return virt - 0xFFFFFFFF80100000 + 0x40100000; // TODO: hardcode is awful
|
||||
return virt - 0xFFFFFFFF80100000 + kKernelPhysBase;
|
||||
}
|
||||
|
||||
static inline Address VMPhysToHHDM(Address phys) {
|
||||
|
||||
Reference in New Issue
Block a user