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:
parent
1525c11928
commit
1bb98c6950
1 changed files with 2 additions and 2 deletions
|
@ -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;
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue