diff options
author | Liav A <liavalb@gmail.com> | 2022-03-17 17:23:04 +0200 |
---|---|---|
committer | Linus Groh <mail@linusgroh.de> | 2022-03-18 09:22:10 +0000 |
commit | 3bbb5734afd34a4cbc9580fe286e19fc2b71a1c3 (patch) | |
tree | 0bd81fd1fed5bdb7a45c89f41c68ecf48a6b2f10 /AK/LexicalPath.cpp | |
parent | eca8f292a56f8a0000532c15081a753cc21878b1 (diff) | |
download | serenity-3bbb5734afd34a4cbc9580fe286e19fc2b71a1c3.zip |
Kernel: Don't initialize early framebuffer console if address is invalid
To do so, we now check that the framebuffer type is RGB so we know that
the Multiboot bootloader actually provided a valid framebuffer to work
with.
This fixes a problem I observed on my ICH7 test machine that apparently
the multiboot_framebuffer_addr was not null but there was no framebuffer
that was set up for RGB colors, and by initializing that console, there
was a memory curroption caused somewhere in the EBDA area to probably
cause a complete system lockup.
Diffstat (limited to 'AK/LexicalPath.cpp')
0 files changed, 0 insertions, 0 deletions