[NTVDM]
authorAleksandar Andrejevic <aandrejevic@reactos.org>
Wed, 30 Oct 2013 22:42:32 +0000 (22:42 +0000)
committerAleksandar Andrejevic <aandrejevic@reactos.org>
Wed, 30 Oct 2013 22:42:32 +0000 (22:42 +0000)
Fix an EOI condition in the BIOS IRQ handler.

svn path=/branches/ntvdm/; revision=60801

subsystems/ntvdm/bios.c

index d21fece..f040147 100644 (file)
@@ -1170,7 +1170,7 @@ VOID BiosHandleIrq(BYTE IrqNumber, LPWORD Stack)
     }
 
     /* Send End-of-Interrupt to the PIC */
     }
 
     /* Send End-of-Interrupt to the PIC */
-    if (IrqNumber > 8) PicWriteCommand(PIC_SLAVE_CMD, PIC_OCW2_EOI);
+    if (IrqNumber >= 8) PicWriteCommand(PIC_SLAVE_CMD, PIC_OCW2_EOI);
     PicWriteCommand(PIC_MASTER_CMD, PIC_OCW2_EOI);
 }
 
     PicWriteCommand(PIC_MASTER_CMD, PIC_OCW2_EOI);
 }