kernel: Clear IRR register on software interrupt processing

Fixes a hang that can occur due to an infinite loop of interrupts under
certian conditions.
This commit is contained in:
Luke Usher 2020-03-24 14:05:53 +00:00
parent 1b9c628e04
commit 637e562080
1 changed files with 3 additions and 1 deletions

View File

@ -177,7 +177,9 @@ void CallSoftwareInterrupt(const xboxkrnl::KIRQL SoftwareIrql)
HalSystemInterrupts[SoftwareIrql - 4].Trigger(EmuInterruptList[SoftwareIrql - 4]);
}
break;
}
}
HalInterruptRequestRegister ^= (1 << SoftwareIrql);
}
const DWORD IrqlMasks[] = {