summaryrefslogtreecommitdiff
path: root/Kernel/Devices/PS2MouseDevice.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'Kernel/Devices/PS2MouseDevice.cpp')
-rw-r--r--Kernel/Devices/PS2MouseDevice.cpp6
1 files changed, 3 insertions, 3 deletions
diff --git a/Kernel/Devices/PS2MouseDevice.cpp b/Kernel/Devices/PS2MouseDevice.cpp
index fca9320412..6a1e178560 100644
--- a/Kernel/Devices/PS2MouseDevice.cpp
+++ b/Kernel/Devices/PS2MouseDevice.cpp
@@ -54,7 +54,7 @@
static PS2MouseDevice* s_the;
PS2MouseDevice::PS2MouseDevice()
- : InterruptHandler(IRQ_MOUSE)
+ : IRQHandler(IRQ_MOUSE)
, CharacterDevice(10, 1)
{
s_the = this;
@@ -70,7 +70,7 @@ PS2MouseDevice& PS2MouseDevice::the()
return *s_the;
}
-void PS2MouseDevice::handle_interrupt()
+void PS2MouseDevice::handle_irq()
{
for (;;) {
u8 status = IO::in8(I8042_STATUS);
@@ -242,7 +242,7 @@ void PS2MouseDevice::initialize_device()
kprintf("PS2MouseDevice: No mouse wheel detected!\n");
}
- enable_interrupts();
+ enable_irq();
}
void PS2MouseDevice::expect_ack()