mirror of
https://github.com/EnderIce2/Fennix.git
synced 2025-05-28 15:34:31 +00:00
Do not map the framebuffer with user flag
This commit is contained in:
parent
ef542145f7
commit
e74c5f7bab
@ -116,13 +116,13 @@ NIF void MapFramebuffer(PageTable *PT)
|
||||
{
|
||||
vmm.OptimizedMap(bInfo.Framebuffer[itrfb].BaseAddress,
|
||||
bInfo.Framebuffer[itrfb].BaseAddress,
|
||||
fbSize, RW | US | G);
|
||||
fbSize, RW | G);
|
||||
}
|
||||
else
|
||||
{
|
||||
vmm.Map(bInfo.Framebuffer[itrfb].BaseAddress,
|
||||
bInfo.Framebuffer[itrfb].BaseAddress,
|
||||
fbSize, RW | US | G);
|
||||
fbSize, RW | G);
|
||||
}
|
||||
itrfb++;
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user