mirror of
https://github.com/RGBCube/serenity
synced 2025-05-31 08:58:11 +00:00
Kernel: Separate framebuffers from bootmode
Bootmode used to control framebuffers, panic behavior, and SystemServer. This patch factors framebuffer control into a separate flag. Note that the combination 'bootmode=self-test fbdev=on' leads to unexpected behavior, which can only be fixed in a later commit.
This commit is contained in:
parent
314b8a374b
commit
542a88a7be
16 changed files with 26 additions and 26 deletions
|
@ -37,7 +37,7 @@ public:
|
|||
unsigned allocate_minor_device_number() { return m_current_minor_number++; };
|
||||
GraphicsManagement();
|
||||
|
||||
bool framebuffer_devices_allowed() const { return m_framebuffer_devices_allowed; }
|
||||
bool framebuffer_devices_allowed() const;
|
||||
bool framebuffer_devices_exist() const;
|
||||
|
||||
Spinlock& main_vga_lock() { return m_main_vga_lock; }
|
||||
|
@ -54,7 +54,6 @@ private:
|
|||
// Note: there could be multiple VGA adapters, but only one can operate in VGA mode
|
||||
RefPtr<VGACompatibleAdapter> m_vga_adapter;
|
||||
unsigned m_current_minor_number { 0 };
|
||||
const bool m_framebuffer_devices_allowed;
|
||||
|
||||
Spinlock m_main_vga_lock;
|
||||
};
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue