Author: ion
Date: Fri Aug 25 18:15:11 2006
New Revision: 23706
URL:
http://svn.reactos.org/svn/reactos?rev=23706&view=rev
Log:
- Fix some bugs
Modified:
trunk/reactos/hal/halx86/generic/irq.S
Modified: trunk/reactos/hal/halx86/generic/irq.S
URL:
http://svn.reactos.org/svn/reactos/trunk/reactos/hal/halx86/generic/irq.S?r…
==============================================================================
--- trunk/reactos/hal/halx86/generic/irq.S (original)
+++ trunk/reactos/hal/halx86/generic/irq.S Fri Aug 25 18:15:11 2006
@@ -392,7 +392,6 @@
/* There are pending software interrupts, call their handlers */
add esp, 12
jmp SoftIntHandlerTable2[eax*4]
- ret 8
.endfunc
.globl @KfLowerIrql@4
@@ -443,7 +442,6 @@
/* Get the IRQL and check if it's Software level only */
xor eax, eax
mov al, [fs:KPCR_IRQL]
-
movzx ecx, cl
cmp cl, DISPATCH_LEVEL
jbe SetIrql
@@ -508,7 +506,7 @@
cli
/* Mask out interrupts */
- mov eax, KiI8259MaskTable + DISPATCH_LEVEL * 2
+ mov eax, KiI8259MaskTable[DISPATCH_LEVEL*4]
or eax, [fs:KPCR_IDR]
out 0x21, al
shr eax, 8