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

Kernel: Fix IRQ define in PS2MouseDevice

This commit is contained in:
Tibor Nagy 2020-01-05 10:37:25 +01:00 committed by Andreas Kling
parent 1525c11928
commit 1bb98c6950

View file

@ -1,7 +1,7 @@
#include "PS2MouseDevice.h" #include "PS2MouseDevice.h"
#include "IO.h" #include "IO.h"
#define IRQ_MOUSE 1 #define IRQ_MOUSE 12
#define I8042_BUFFER 0x60 #define I8042_BUFFER 0x60
#define I8042_STATUS 0x64 #define I8042_STATUS 0x64
#define I8042_ACK 0xFA #define I8042_ACK 0xFA
@ -28,7 +28,7 @@
static PS2MouseDevice* s_the; static PS2MouseDevice* s_the;
PS2MouseDevice::PS2MouseDevice() PS2MouseDevice::PS2MouseDevice()
: IRQHandler(12) : IRQHandler(IRQ_MOUSE)
, CharacterDevice(10, 1) , CharacterDevice(10, 1)
{ {
s_the = this; s_the = this;