1
Fork 0
mirror of https://github.com/RGBCube/serenity synced 2025-05-28 02:05:06 +00:00
serenity/Kernel/Graphics/Console
Liav A 87f8f892d8 Kernel: Fix framebuffer resolution modesetting after boot
If we tried to change the resolution before of this patch, we triggered
a kernel crash due to mmaping the framebuffer device again.
Therefore, on mmaping of the framebuffer device, we create an entire new
set of VMObjects and Regions for the new settings.

Then, when we change the resolution, the framebuffersconsole needs to be
updated with the new resolution and also to be refreshed with the new
settings. To ensure we handle both shrinking of the resolution and
growth of it, we only copy the right amount of available data from the
cells Region.
2021-05-21 08:08:33 +02:00
..
Console.h Kernel: Fix framebuffer resolution modesetting after boot 2021-05-21 08:08:33 +02:00
FramebufferConsole.cpp Kernel: Fix framebuffer resolution modesetting after boot 2021-05-21 08:08:33 +02:00
FramebufferConsole.h Kernel: Fix framebuffer resolution modesetting after boot 2021-05-21 08:08:33 +02:00
TextModeConsole.cpp Kernel/Graphics + SystemServer: Support text mode properly 2021-05-16 19:58:33 +02:00
TextModeConsole.h Kernel/Graphics + SystemServer: Support text mode properly 2021-05-16 19:58:33 +02:00
VGAConsole.cpp Kernel/Graphics + SystemServer: Support text mode properly 2021-05-16 19:58:33 +02:00
VGAConsole.h Kernel/Graphics + SystemServer: Support text mode properly 2021-05-16 19:58:33 +02:00