mirror of
https://github.com/LadybirdBrowser/ladybird.git
synced 2025-08-22 02:09:24 +00:00
Kernel: Update system components to use the new IRQHandler class
This commit is contained in:
parent
a46120b4a8
commit
740534cd67
Notes:
sideshowbarker
2024-07-19 09:06:49 +09:00
Author: https://github.com/supercomputer7
Commit: 740534cd67
Pull-request: https://github.com/SerenityOS/serenity/pull/1274
Reviewed-by: https://github.com/awesomekling
Reviewed-by: https://github.com/shannonbooth
9 changed files with 13 additions and 14 deletions
|
@ -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);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue