From 7ac60d428d16d15966d95f228bf1191cbbadc38e Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Herm=C3=A8s=20B=C3=A9lusca-Ma=C3=AFto?= Date: Sat, 29 Aug 2015 14:09:57 +0000 Subject: [PATCH] [HAL]: Addendum for r68856 svn path=/trunk/; revision=68857 --- 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 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));