mirror of
https://github.com/Fennix-Project/Kernel.git
synced 2025-05-28 07:24:37 +00:00
Workaround for QEMU TCG crash
This commit is contained in:
parent
914e96b337
commit
d2db08b2cf
@ -111,6 +111,12 @@ NIF void MapFramebuffer(PageTable *PT)
|
||||
break;
|
||||
|
||||
size_t fbSize = bInfo.Framebuffer[itrfb].Pitch * bInfo.Framebuffer[itrfb].Height;
|
||||
fbSize = ALIGN_UP(fbSize, PAGE_SIZE);
|
||||
|
||||
#ifdef DEBUG
|
||||
if (DebuggerIsAttached)
|
||||
fbSize += 16 * PAGE_SIZE;
|
||||
#endif
|
||||
|
||||
if (PSESupport && Page1GBSupport)
|
||||
{
|
||||
|
Loading…
x
Reference in New Issue
Block a user