1
Fork 0
mirror of https://github.com/RGBCube/serenity synced 2025-07-25 20:17:44 +00:00

Kernel: Update system components to use the new IRQHandler class

This commit is contained in:
Liav A 2020-02-22 19:53:03 +02:00 committed by Andreas Kling
parent a46120b4a8
commit 740534cd67
9 changed files with 13 additions and 14 deletions

View file

@ -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);