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:
Tom 2022-01-05 14:45:29 -07:00 committed by Linus Groh
commit 785c10fda9
Notes: sideshowbarker 2024-07-17 21:31:44 +09:00
5 changed files with 84 additions and 54 deletions

View file

@ -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; }