forked from Bananymous/banan-os
Kernel: fix MMU::map_page_at()
We used to only reassign if flags changed
This commit is contained in:
parent
481c8406f3
commit
83eb3dc0cb
|
@ -250,8 +250,7 @@ namespace Kernel
|
|||
}
|
||||
|
||||
uint64_t* pt = (uint64_t*)(pd[pde] & PAGE_MASK);
|
||||
if ((pt[pte] & flags) != flags)
|
||||
pt[pte] = paddr | flags;
|
||||
pt[pte] = paddr | flags;
|
||||
}
|
||||
|
||||
uint64_t MMU::get_page_data(vaddr_t address) const
|
||||
|
|
Loading…
Reference in New Issue