forked from Bananymous/banan-os
Kernel: fix MMU::map_page_at()
We used to only reassign if flags changed
This commit is contained in:
@@ -250,7 +250,6 @@ namespace Kernel
|
||||
}
|
||||
|
||||
uint64_t* pt = (uint64_t*)(pd[pde] & PAGE_MASK);
|
||||
if ((pt[pte] & flags) != flags)
|
||||
pt[pte] = paddr | flags;
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user