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:
Evgeny Grechnikov (Diamond) 2008-04-04 17:36:17 +00:00
parent 8dffd5ba5f
commit c4be8acc8c

View File

@ -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