From: Thomas Faber Date: Sat, 29 Aug 2015 14:04:57 +0000 (+0000) Subject: [HAL] X-Git-Tag: ReactOS-0.4.0~1169 X-Git-Url: https://git.reactos.org/?p=reactos.git;a=commitdiff_plain;h=96a3420464b853d4fdf906302df0653d90118779 [HAL] - IRQ 8 belongs to the slave PIC, so send EOI appropriately CORE-10066 svn path=/trunk/; revision=68856 --- diff --git a/reactos/hal/halx86/up/pic.c b/reactos/hal/halx86/up/pic.c index 052dc1bb5f9..f085f636e4a 100644 --- a/reactos/hal/halx86/up/pic.c +++ b/reactos/hal/halx86/up/pic.c @@ -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));