From: John Hodge Date: Sun, 22 Sep 2013 11:13:13 +0000 (+0800) Subject: Modules/ARMv7 GIC - Quietened interrupt handling X-Git-Tag: rel0.15~190 X-Git-Url: https://git.ucc.asn.au/?a=commitdiff_plain;h=06bd18b0a437a15e2e76f9c3a888d14c9d4c1c1a;p=tpg%2Facess2.git Modules/ARMv7 GIC - Quietened interrupt handling --- diff --git a/KernelLand/Modules/armv7/GIC/gic.c b/KernelLand/Modules/armv7/GIC/gic.c index a918f68e..85c5cf6a 100644 --- a/KernelLand/Modules/armv7/GIC/gic.c +++ b/KernelLand/Modules/armv7/GIC/gic.c @@ -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; }