blob: 4e4882b0d8bda138304219481ceb48b8fe721bd0 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
|
global int_mouse_handler
[extern mouse_handler]
[bits 32]
int_mouse_handler:
cli
pusha
call mouse_handler
mov al, 0x20 ;Port number AND command number to Acknowledge IRQ
out 0xa0, al ; came from slave
out 0x20, al ;Acknowledge IRQ, so we keep getting interrupts
popa
sti
iret ;Interrupt-Return
|