mirror of
https://github.com/reactos/reactos.git
synced 2024-10-22 13:56:16 +00:00
[NTVDM]
Make sure bit 2 in the ISR of the master PIC is set when an IRQ in the slave PIC occurs. svn path=/branches/ntvdm/; revision=59269
This commit is contained in:
parent
b44c5d3a6f
commit
7765319949
|
@ -189,6 +189,12 @@ VOID PicInterruptRequest(BYTE Number)
|
|||
return;
|
||||
}
|
||||
|
||||
/* Check the if the slave PIC is busy */
|
||||
if (MasterPic.InServiceRegister & (1 << 2)) return;
|
||||
|
||||
/* Set the IRQ 2 bit in the master ISR */
|
||||
MasterPic.InServiceRegister |= 1 << 2;
|
||||
|
||||
/* Check if the interrupt is busy or in a cascade */
|
||||
if (SlavePic.CascadeRegister & (1 << Number)
|
||||
|| SlavePic.InServiceRegister & (1 << Number))
|
||||
|
|
Loading…
Reference in a new issue