ArmPkg/PL390GixDxe: Return from the interrupt handler when it is a sporadic interrupt

Sporadic interrupts must not be handled by any interrupt handlers.



git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@11469 6f19259b-4bc3-4df7-8a09-765794883524
This commit is contained in:
oliviermartin 2011-03-31 11:28:25 +00:00
parent 2297613a3f
commit fe93eba096
1 changed files with 1 additions and 0 deletions

View File

@ -257,6 +257,7 @@ IrqInterruptHandler (
GicInterrupt = MmioRead32 (PcdGet32(PcdGicInterruptInterfaceBase) + GIC_ICCIAR);
if (GicInterrupt >= PcdGet32(PcdGicNumInterrupts)) {
MmioWrite32 (PcdGet32(PcdGicInterruptInterfaceBase) + GIC_ICCEIOR, GicInterrupt);
return;
}
InterruptHandler = gRegisteredInterruptHandlers[GicInterrupt];