diff options
Diffstat (limited to 'Kernel')
-rw-r--r-- | Kernel/Graphics/BochsGraphicsAdapter.cpp | 2 | ||||
-rw-r--r-- | Kernel/Graphics/FramebufferDevice.cpp | 2 | ||||
-rw-r--r-- | Kernel/Graphics/FramebufferDevice.h | 2 | ||||
-rw-r--r-- | Kernel/Graphics/VGACompatibleAdapter.cpp | 2 |
4 files changed, 4 insertions, 4 deletions
diff --git a/Kernel/Graphics/BochsGraphicsAdapter.cpp b/Kernel/Graphics/BochsGraphicsAdapter.cpp index 534a665765..e15d1d24ee 100644 --- a/Kernel/Graphics/BochsGraphicsAdapter.cpp +++ b/Kernel/Graphics/BochsGraphicsAdapter.cpp @@ -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() diff --git a/Kernel/Graphics/FramebufferDevice.cpp b/Kernel/Graphics/FramebufferDevice.cpp index cfe7d2db23..0d41e8a3ec 100644 --- a/Kernel/Graphics/FramebufferDevice.cpp +++ b/Kernel/Graphics/FramebufferDevice.cpp @@ -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) diff --git a/Kernel/Graphics/FramebufferDevice.h b/Kernel/Graphics/FramebufferDevice.h index 45e9bd0c54..5391f91e9c 100644 --- a/Kernel/Graphics/FramebufferDevice.h +++ b/Kernel/Graphics/FramebufferDevice.h @@ -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; } diff --git a/Kernel/Graphics/VGACompatibleAdapter.cpp b/Kernel/Graphics/VGACompatibleAdapter.cpp index e8e9066ab2..8ee96023d3 100644 --- a/Kernel/Graphics/VGACompatibleAdapter.cpp +++ b/Kernel/Graphics/VGACompatibleAdapter.cpp @@ -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() |