summaryrefslogtreecommitdiff
path: root/Kernel/Devices/KeyboardDevice.cpp
diff options
context:
space:
mode:
authorLiav A <liavalb@gmail.com>2020-02-22 19:53:03 +0200
committerAndreas Kling <kling@serenityos.org>2020-02-24 11:27:03 +0100
commit740534cd67fa885164bdab7164f224522c10cfb2 (patch)
tree225e8c15f7d2236ffbd5c5cbc6c8cbf757d9b7b8 /Kernel/Devices/KeyboardDevice.cpp
parenta46120b4a81463a529c172d8a7523a0757543873 (diff)
downloadserenity-740534cd67fa885164bdab7164f224522c10cfb2.zip
Kernel: Update system components to use the new IRQHandler class
Diffstat (limited to 'Kernel/Devices/KeyboardDevice.cpp')
-rw-r--r--Kernel/Devices/KeyboardDevice.cpp3
1 files changed, 1 insertions, 2 deletions
diff --git a/Kernel/Devices/KeyboardDevice.cpp b/Kernel/Devices/KeyboardDevice.cpp
index 8b9071b708..8431041d8e 100644
--- a/Kernel/Devices/KeyboardDevice.cpp
+++ b/Kernel/Devices/KeyboardDevice.cpp
@@ -28,7 +28,6 @@
#include <AK/ByteBuffer.h>
#include <AK/Types.h>
#include <Kernel/Arch/i386/CPU.h>
-#include <Kernel/Arch/i386/PIC.h>
#include <Kernel/Devices/KeyboardDevice.h>
#include <Kernel/TTY/VirtualConsole.h>
#include <LibBareMetal/IO.h>
@@ -486,7 +485,7 @@ void KeyboardDevice::key_state_changed(u8 raw, bool pressed)
m_has_e0_prefix = false;
}
-void KeyboardDevice::handle_irq()
+void KeyboardDevice::handle_irq(RegisterState&)
{
for (;;) {
u8 status = IO::in8(I8042_STATUS);