mirror of
https://github.com/RGBCube/serenity
synced 2025-05-25 15:25:08 +00:00
Kernel/Graphics: Allow Intel DisplayConnector to not have console
This commit is contained in:
parent
016fedbd20
commit
b2da5d3e62
1 changed files with 4 additions and 4 deletions
|
@ -72,14 +72,14 @@ ErrorOr<void> IntelNativeDisplayConnector::set_safe_mode_setting()
|
||||||
void IntelNativeDisplayConnector::enable_console()
|
void IntelNativeDisplayConnector::enable_console()
|
||||||
{
|
{
|
||||||
VERIFY(m_control_lock.is_locked());
|
VERIFY(m_control_lock.is_locked());
|
||||||
VERIFY(m_framebuffer_console);
|
if (m_framebuffer_console)
|
||||||
m_framebuffer_console->enable();
|
m_framebuffer_console->enable();
|
||||||
}
|
}
|
||||||
|
|
||||||
void IntelNativeDisplayConnector::disable_console()
|
void IntelNativeDisplayConnector::disable_console()
|
||||||
{
|
{
|
||||||
VERIFY(m_control_lock.is_locked());
|
VERIFY(m_control_lock.is_locked());
|
||||||
VERIFY(m_framebuffer_console);
|
if (m_framebuffer_console)
|
||||||
m_framebuffer_console->disable();
|
m_framebuffer_console->disable();
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue