ArmPkg/Drivers/PL390Gic: Removed acknowledge of special interrupts (spurious interrupt)

Cleaning a special interrupt has an unpredictable behaviour.



git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@13129 6f19259b-4bc3-4df7-8a09-765794883524
This commit is contained in:
oliviermartin 2012-03-26 10:54:49 +00:00
parent 1dc483b30e
commit 645890ba40
1 changed files with 3 additions and 2 deletions

View File

@ -259,9 +259,10 @@ IrqInterruptHandler (
HARDWARE_INTERRUPT_HANDLER InterruptHandler;
GicInterrupt = MmioRead32 (PcdGet32(PcdGicInterruptInterfaceBase) + ARM_GIC_ICCIAR);
//TODO: Comment me
// Special Interrupts (ID1020-ID1023) have an Interrupt ID greater than the number of interrupt (ie: Spurious interrupt).
if (GicInterrupt >= PcdGet32(PcdGicNumInterrupts)) {
MmioWrite32 (PcdGet32(PcdGicInterruptInterfaceBase) + ARM_GIC_ICCEIOR, GicInterrupt);
// The special interrupt do not need to be acknowledge
return;
}