- IRQ 8 belongs to the slave PIC, so send EOI appropriately
CORE-10066

svn path=/trunk/; revision=68856
This commit is contained in:
Thomas Faber 2015-08-29 14:04:57 +00:00
parent 3946e15eeb
commit 96a3420464

View file

@ -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));