mirror of https://github.com/acidanthera/audk.git
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:
parent
2297613a3f
commit
fe93eba096
|
@ -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];
|
||||
|
|
Loading…
Reference in New Issue