Modules/ARMv7 GIC - Quietened interrupt handling
authorJohn Hodge <[email protected]>
Sun, 22 Sep 2013 11:13:13 +0000 (19:13 +0800)
committerJohn Hodge <[email protected]>
Sun, 22 Sep 2013 11:13:13 +0000 (19:13 +0800)
KernelLand/Modules/armv7/GIC/gic.c

index a918f68..85c5cf6 100644 (file)
@@ -80,8 +80,12 @@ int GIC_Install(char **Arguments)
 void GIC_IRQHandler(void)
 {
        Uint32  num = gpGIC_InterfaceBase[GICC_IAR];
-       Log_Debug("GIC", "IRQ 0x%x", num);
-       gaIRQ_Handlers[num]( num, gaIRQ_HandlerData[num] );
+       if( gaIRQ_Handlers[num] ) {
+               gaIRQ_Handlers[num]( num, gaIRQ_HandlerData[num] );
+       }
+       else {
+               Log_Debug("GIC", "IRQ 0x%x unhandled", num);
+       }
        gpGIC_InterfaceBase[GICC_EOIR] = num;
 }
 

UCC git Repository :: git.ucc.asn.au