summaryrefslogtreecommitdiff
path: root/Kernel/Devices
diff options
context:
space:
mode:
authorTibor Nagy <xnagytibor@gmail.com>2020-01-05 10:37:25 +0100
committerAndreas Kling <awesomekling@gmail.com>2020-01-05 10:45:30 +0100
commit1bb98c6950e9b1fa6d8a6030fa5a72d1b6a9c7d1 (patch)
treee1181c3f3ab05eb85e8d0017be6b5d4523a9ebd1 /Kernel/Devices
parent1525c119284a9d021ff039eb8ea9c8155c60fb54 (diff)
downloadserenity-1bb98c6950e9b1fa6d8a6030fa5a72d1b6a9c7d1.zip
Kernel: Fix IRQ define in PS2MouseDevice
Diffstat (limited to 'Kernel/Devices')
-rw-r--r--Kernel/Devices/PS2MouseDevice.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/Kernel/Devices/PS2MouseDevice.cpp b/Kernel/Devices/PS2MouseDevice.cpp
index 2cacdc85d4..ebf8ffd91c 100644
--- a/Kernel/Devices/PS2MouseDevice.cpp
+++ b/Kernel/Devices/PS2MouseDevice.cpp
@@ -1,7 +1,7 @@
#include "PS2MouseDevice.h"
#include "IO.h"
-#define IRQ_MOUSE 1
+#define IRQ_MOUSE 12
#define I8042_BUFFER 0x60
#define I8042_STATUS 0x64
#define I8042_ACK 0xFA
@@ -28,7 +28,7 @@
static PS2MouseDevice* s_the;
PS2MouseDevice::PS2MouseDevice()
- : IRQHandler(12)
+ : IRQHandler(IRQ_MOUSE)
, CharacterDevice(10, 1)
{
s_the = this;