forked from KolibriOS/kolibrios
Restored normal IRQ handling broken in rev. 769
git-svn-id: svn://kolibrios.org@787 a494cfbc-eb01-0410-851d-a64ba20cac60
This commit is contained in:
parent
8dffd5ba5f
commit
c4be8acc8c
@ -183,12 +183,20 @@ macro irqh [num]
|
|||||||
{
|
{
|
||||||
forward
|
forward
|
||||||
p_irq#num :
|
p_irq#num :
|
||||||
|
save_ring3_context
|
||||||
mov edi, num
|
mov edi, num
|
||||||
jmp irqhandler
|
jmp irq_c
|
||||||
}
|
}
|
||||||
|
|
||||||
irqh 2,3,4,5,7,8,9,10,11
|
irqh 2,3,4,5,7,8,9,10,11
|
||||||
|
|
||||||
|
irq_c:
|
||||||
|
mov ax, app_data
|
||||||
|
mov ds, ax
|
||||||
|
mov es, ax
|
||||||
|
call irqhandler
|
||||||
|
restore_ring3_context
|
||||||
|
iret
|
||||||
|
|
||||||
p_irq6:
|
p_irq6:
|
||||||
save_ring3_context
|
save_ring3_context
|
||||||
|
Loading…
Reference in New Issue
Block a user