mirror of
https://github.com/LadybirdBrowser/ladybird.git
synced 2025-04-24 05:25:13 +00:00
Kernel: Fix type, dectivate_writes => deactivate_writes
This commit is contained in:
parent
db268efa69
commit
09d09b79b6
Notes:
sideshowbarker
2024-07-18 17:39:00 +09:00
Author: https://github.com/supercomputer7 Commit: https://github.com/SerenityOS/serenity/commit/09d09b79b6b Pull-request: https://github.com/SerenityOS/serenity/pull/7258 Issue: https://github.com/SerenityOS/serenity/issues/7241 Reviewed-by: https://github.com/awesomekling Reviewed-by: https://github.com/tomuta
4 changed files with 4 additions and 4 deletions
|
@ -143,7 +143,7 @@ void BochsGraphicsAdapter::enable_consoles()
|
|||
auto registers = map_typed_writable<volatile BochsDisplayMMIORegisters>(m_mmio_registers);
|
||||
registers->bochs_regs.y_offset = 0;
|
||||
if (m_framebuffer_device)
|
||||
m_framebuffer_device->dectivate_writes();
|
||||
m_framebuffer_device->deactivate_writes();
|
||||
m_framebuffer_console->enable();
|
||||
}
|
||||
void BochsGraphicsAdapter::disable_consoles()
|
||||
|
|
|
@ -60,7 +60,7 @@ KResultOr<Region*> FramebufferDevice::mmap(Process& process, FileDescription&, c
|
|||
return result;
|
||||
}
|
||||
|
||||
void FramebufferDevice::dectivate_writes()
|
||||
void FramebufferDevice::deactivate_writes()
|
||||
{
|
||||
ScopedSpinLock lock(m_activation_lock);
|
||||
if (!m_userspace_framebuffer_region)
|
||||
|
|
|
@ -27,7 +27,7 @@ public:
|
|||
virtual mode_t required_mode() const override { return 0660; }
|
||||
virtual String device_name() const override;
|
||||
|
||||
virtual void dectivate_writes();
|
||||
virtual void deactivate_writes();
|
||||
virtual void activate_writes();
|
||||
virtual size_t framebuffer_size_in_bytes() const { return m_framebuffer_pitch * m_framebuffer_height; }
|
||||
|
||||
|
|
|
@ -59,7 +59,7 @@ void VGACompatibleAdapter::enable_consoles()
|
|||
{
|
||||
VERIFY(m_framebuffer_console);
|
||||
if (m_framebuffer_device)
|
||||
m_framebuffer_device->dectivate_writes();
|
||||
m_framebuffer_device->deactivate_writes();
|
||||
m_framebuffer_console->enable();
|
||||
}
|
||||
void VGACompatibleAdapter::disable_consoles()
|
||||
|
|
Loading…
Add table
Reference in a new issue