QUICK BUGFIX: Shift PDE.Address to the left by 12 bits in VMM::getPhysical, to return the actual physical address
This commit is contained in:
parent
a2d23efd1b
commit
a0af8fa432
@ -97,7 +97,7 @@ namespace Paging
|
||||
else { PT = (PageTable*)((uint64_t)PDE.Address << 12); }
|
||||
|
||||
PDE = PT->entries[P_i];
|
||||
return PDE.Address;
|
||||
return PDE.Address << 12;
|
||||
}
|
||||
|
||||
uint64_t VirtualMemoryManager::getFlags(uint64_t virtualAddress)
|
||||
|
Loading…
Reference in New Issue
Block a user