[HAL]
authorThomas Faber <thomas.faber@reactos.org>
Sat, 29 Aug 2015 14:04:57 +0000 (14:04 +0000)
committerThomas Faber <thomas.faber@reactos.org>
Sat, 29 Aug 2015 14:04:57 +0000 (14:04 +0000)
- IRQ 8 belongs to the slave PIC, so send EOI appropriately
CORE-10066

svn path=/trunk/; revision=68856

reactos/hal/halx86/up/pic.c

index 052dc1b..f085f63 100644 (file)
@@ -808,7 +808,7 @@ _HalpDismissIrqGeneric(IN KIRQL Irql,
         Ocw2.EoiMode = SpecificEoi;
 
         /* Check which PIC needs the EOI */
-        if (Irq > 8)
+        if (Irq >= 8)
         {
             /* Send the EOI for the IRQ */
             __outbyte(PIC2_CONTROL_PORT, Ocw2.Bits | ((Irq - 8) & 0xFF));