diff --git a/reactos/hal/halx86/up/pic.c b/reactos/hal/halx86/up/pic.c index f085f636e4a..ba5e7d0ff50 100644 --- a/reactos/hal/halx86/up/pic.c +++ b/reactos/hal/halx86/up/pic.c @@ -952,7 +952,7 @@ _HalpDismissIrqLevel(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));