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