Solve rebase

This commit is contained in:
apio 2022-10-14 17:39:24 +02:00
parent 81f56083c5
commit 97a8a4a4a2

View File

@ -74,7 +74,7 @@ void VMM::unmap(uint64_t vaddr)
void VMM::remap(uint64_t vaddr, int flags)
{
vaddr = Utilities::round_down_to_nearest_page(vaddr);
vaddr = round_down_to_nearest_page(vaddr);
PageDirectoryEntry* pde = find_pde(current_pml4, vaddr);
if (!pde) return; // Not mapped