summaryrefslogtreecommitdiff
path: root/asm/int_default_handler.asm
blob: b86eeae6a17797d30926f240ca845fb5935adfb8 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
global int_default_handler
[extern int_default]


[bits 32]
int_default_handler:


 cli
 pusha

 call int_default

 mov al, 0x20   ;Port number AND command number to Acknowledge IRQ
 out 0x20, al   ;Acknowledge IRQ, so we keep getting interrupts

 popa
 sti


 iret           ;Interrupt-Return