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


[bits 32]
int_default_handler:

 cli
 
 call int_default

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

 sti
 iret           ;Interrupt-Return