ladybird/Kernel/TTY
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
..
ConsoleManagement.cpp Kernel: Fix framebuffer resolution modesetting after boot 2021-05-21 08:08:33 +02:00
ConsoleManagement.h Kernel: Fix framebuffer resolution modesetting after boot 2021-05-21 08:08:33 +02:00
MasterPTY.cpp Kernel: Don't use ref_count() in MasterPTY::close() 2021-05-01 23:04:40 +02:00
MasterPTY.h Everything: Move to SPDX license identifiers in all files. 2021-04-22 11:22:27 +02:00
PTYMultiplexer.cpp Kernel: static vs non-static constexpr variables 2021-05-19 21:21:47 +01:00
PTYMultiplexer.h Everything: Move to SPDX license identifiers in all files. 2021-04-22 11:22:27 +02:00
SlavePTY.cpp Kernel: Make UserOrKernelBuffer R/W helpers return KResultOr<size_t> 2021-05-13 23:28:40 +02:00
SlavePTY.h Kernel: Avoid unnecessary allocations for TTY::tty_name() 2021-05-13 08:27:42 +02:00
TTY.cpp Kernel: Acknowledge partial writes from TTYs 2021-05-18 16:47:26 +02:00
TTY.h Kernel+LibC: Support more termios settings in TTY 2021-05-17 11:00:48 +02:00
VirtualConsole.cpp Kernel: Fix framebuffer resolution modesetting after boot 2021-05-21 08:08:33 +02:00
VirtualConsole.h Kernel: Fix framebuffer resolution modesetting after boot 2021-05-21 08:08:33 +02:00