mirror of
https://github.com/LadybirdBrowser/ladybird.git
synced 2025-08-08 01:00:05 +00:00
Kernel: Add option to force using only the bootloader framebuffer
This allows forcing the use of only the framebuffer set up by the bootloader and skips instantiating devices for any other graphics cards that may be present.
This commit is contained in:
parent
01b3666894
commit
785c10fda9
Notes:
sideshowbarker
2024-07-17 21:31:44 +09:00
Author: https://github.com/tomuta
Commit: 785c10fda9
Pull-request: https://github.com/SerenityOS/serenity/pull/11652
Reviewed-by: https://github.com/Quaker762 ✅
Reviewed-by: https://github.com/linusg
5 changed files with 84 additions and 54 deletions
|
@ -36,7 +36,8 @@ public:
|
|||
unsigned allocate_minor_device_number() { return m_current_minor_number++; };
|
||||
GraphicsManagement();
|
||||
|
||||
bool framebuffer_devices_allowed() const;
|
||||
bool framebuffer_devices_console_only() const;
|
||||
bool framebuffer_devices_use_bootloader_framebuffer() const;
|
||||
bool framebuffer_devices_exist() const;
|
||||
|
||||
Spinlock& main_vga_lock() { return m_main_vga_lock; }
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue