mirror of
https://github.com/RGBCube/serenity
synced 2025-07-26 08:27:45 +00:00
Kernel/aarch64: Unbreak RPi framebuffer boot console
342c707
introduced an additional check whether this flag is set
before trying to use the multiboot-provided framebuffer console.
This commit is contained in:
parent
026363024f
commit
93b6111f47
1 changed files with 2 additions and 0 deletions
|
@ -127,6 +127,8 @@ void Framebuffer::initialize()
|
||||||
// NOTE: The required pixel format for MULTIBOOT_FRAMEBUFFER_TYPE_RGB is actually BGRx8888.
|
// NOTE: The required pixel format for MULTIBOOT_FRAMEBUFFER_TYPE_RGB is actually BGRx8888.
|
||||||
VERIFY(framebuffer.pixel_order() == PixelOrder::BGR);
|
VERIFY(framebuffer.pixel_order() == PixelOrder::BGR);
|
||||||
multiboot_framebuffer_type = MULTIBOOT_FRAMEBUFFER_TYPE_RGB;
|
multiboot_framebuffer_type = MULTIBOOT_FRAMEBUFFER_TYPE_RGB;
|
||||||
|
|
||||||
|
multiboot_flags |= MULTIBOOT_INFO_FRAMEBUFFER_INFO;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue