summaryrefslogtreecommitdiff
path: root/asm/int_mouse_handler.asm
diff options
context:
space:
mode:
Diffstat (limited to 'asm/int_mouse_handler.asm')
-rw-r--r--asm/int_mouse_handler.asm8
1 files changed, 2 insertions, 6 deletions
diff --git a/asm/int_mouse_handler.asm b/asm/int_mouse_handler.asm
index 4e4882b..6872af0 100644
--- a/asm/int_mouse_handler.asm
+++ b/asm/int_mouse_handler.asm
@@ -2,18 +2,14 @@ global int_mouse_handler
[extern mouse_handler]
[bits 32]
-int_mouse_handler:
-
- cli
- pusha
+int_mouse_handler:
+ 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