Author: tfaber
Date: Sat Aug 29 14:04:57 2015
New Revision: 68856
URL:
http://svn.reactos.org/svn/reactos?rev=68856&view=rev
Log:
[HAL]
- IRQ 8 belongs to the slave PIC, so send EOI appropriately
CORE-10066
Modified:
trunk/reactos/hal/halx86/up/pic.c
Modified: trunk/reactos/hal/halx86/up/pic.c
URL:
http://svn.reactos.org/svn/reactos/trunk/reactos/hal/halx86/up/pic.c?rev=68…
==============================================================================
--- trunk/reactos/hal/halx86/up/pic.c [iso-8859-1] (original)
+++ trunk/reactos/hal/halx86/up/pic.c [iso-8859-1] Sat Aug 29 14:04:57 2015
@@ -808,7 +808,7 @@
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));