diff options
author | oliviermartin <oliviermartin@6f19259b-4bc3-4df7-8a09-765794883524> | 2011-03-31 11:28:25 +0000 |
---|---|---|
committer | oliviermartin <oliviermartin@6f19259b-4bc3-4df7-8a09-765794883524> | 2011-03-31 11:28:25 +0000 |
commit | fe93eba096ebd65f10d97372a9c4acbd0de13b8b (patch) | |
tree | ccc2851be542dba0ac4cee6eec2357437f6b4f4e /ArmPkg/Drivers | |
parent | 2297613a3f2f44679f321f512fb5554dc273c966 (diff) | |
download | edk2-platforms-fe93eba096ebd65f10d97372a9c4acbd0de13b8b.tar.xz |
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
Diffstat (limited to 'ArmPkg/Drivers')
-rw-r--r-- | ArmPkg/Drivers/PL390Gic/PL390GicDxe.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/ArmPkg/Drivers/PL390Gic/PL390GicDxe.c b/ArmPkg/Drivers/PL390Gic/PL390GicDxe.c index da86bbcd84..94da7f5a74 100644 --- a/ArmPkg/Drivers/PL390Gic/PL390GicDxe.c +++ b/ArmPkg/Drivers/PL390Gic/PL390GicDxe.c @@ -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]; |