Home | Info | Community | Development | myReactOS | Contact Us
Definition at line 1069 of file pic.c.
Referenced by HalEnableSystemInterrupt(), and HalpInitializePICs().
{ PKPCR Pcr = KeGetPcr(); ULONG PendingIrqlMask, PendingIrql; /* Check for pending software interrupts and compare with current IRQL */ PendingIrqlMask = Pcr->IRR & FindHigherIrqlMask[Pcr->Irql]; if (PendingIrqlMask) { /* Check for in-service delayed interrupt */ if (Pcr->IrrActive & 0xFFFFFFF0) return; /* Check if pending IRQL affects hardware state */ BitScanReverse(&PendingIrql, PendingIrqlMask); /* Clear IRR bit */ Pcr->IRR ^= (1 << PendingIrql); /* Now handle pending interrupt */ SWInterruptHandlerTable[PendingIrql](); } }