From efb80df08baf7a6754dc32879640dbbaef878e54 Mon Sep 17 00:00:00 2001 From: CleverMouse Date: Tue, 28 May 2013 16:29:26 +0000 Subject: [PATCH] never relink mouse handler git-svn-id: svn://kolibrios.org@3543 a494cfbc-eb01-0410-851d-a64ba20cac60 --- kernel/trunk/core/irq.inc | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/kernel/trunk/core/irq.inc b/kernel/trunk/core/irq.inc index d2197546b7..9c4cf2dd1b 100644 --- a/kernel/trunk/core/irq.inc +++ b/kernel/trunk/core/irq.inc @@ -230,6 +230,10 @@ align 16 .try_other_irqs: cmp ebp, [esp] jz .try_next_irq + cmp ebp, 1 + jz .try_next_irq + cmp ebp, 12 + jz .try_next_irq lea esi, [irqh_tab+ebp*8] mov ebx, esi .try_next_handler: @@ -239,8 +243,6 @@ align 16 cmp [ebx+IRQH.num_ints], 0 jne .try_next_handler ; keyboard handler acknowledges everything - cmp [ebx+IRQH.handler], irq1 - jz .try_next_handler push [ebx+IRQH.data] call [ebx+IRQH.handler] pop ecx