From 96a3420464b853d4fdf906302df0653d90118779 Mon Sep 17 00:00:00 2001 From: Thomas Faber Date: Sat, 29 Aug 2015 14:04:57 +0000 Subject: [PATCH] [HAL] - IRQ 8 belongs to the slave PIC, so send EOI appropriately CORE-10066 svn path=/trunk/; revision=68856 --- reactos/hal/halx86/up/pic.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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));