diff options
author | Sachin Gupta <sgupta2m@in.ibm.com> | 2016-08-16 00:52:06 -0500 |
---|---|---|
committer | AMIT J. TENDOLKAR <amit.tendolkar@in.ibm.com> | 2016-08-18 06:36:34 -0400 |
commit | 0fb389ffd510e41cbf71e64ea8c1a3e9cd5caf2b (patch) | |
tree | e9686a00773a5b1bade552a45a801559a738ed75 /pk/ppe42/ppe42_irq_core.c | |
parent | ea68cc246a8d28535930bd39a310c8507a876365 (diff) | |
download | talos-sbe-0fb389ffd510e41cbf71e64ea8c1a3e9cd5caf2b.tar.gz talos-sbe-0fb389ffd510e41cbf71e64ea8c1a3e9cd5caf2b.zip |
Use mirrored PK
Change-Id: I8b990bf48bde9434f981dad4100a81bfe7a3c766
RTC: 158865
Reviewed-on: http://ralgit01.raleigh.ibm.com/gerrit1/28293
Tested-by: Jenkins Server <pfd-jenkins+hostboot@us.ibm.com>
Reviewed-by: Gregory S. Still <stillgs@us.ibm.com>
Reviewed-by: Douglas R. Gilbert <dgilbert@us.ibm.com>
Reviewed-by: Shakeeb A. Pasha B K <shakeebbk@in.ibm.com>
Reviewed-by: AMIT J. TENDOLKAR <amit.tendolkar@in.ibm.com>
Diffstat (limited to 'pk/ppe42/ppe42_irq_core.c')
-rw-r--r-- | pk/ppe42/ppe42_irq_core.c | 47 |
1 files changed, 0 insertions, 47 deletions
diff --git a/pk/ppe42/ppe42_irq_core.c b/pk/ppe42/ppe42_irq_core.c deleted file mode 100644 index 791f935d..00000000 --- a/pk/ppe42/ppe42_irq_core.c +++ /dev/null @@ -1,47 +0,0 @@ -//----------------------------------------------------------------------------- -// *! (C) Copyright International Business Machines Corp. 2014 -// *! All Rights Reserved -- Property of IBM -// *! *** IBM Confidential *** -//----------------------------------------------------------------------------- - -/// \file ppe42_irq_core.c -/// \brief Core IRQ routines required of any PPE42 configuration of PK -/// -/// This file is mostly only a placeholder - where 'extern inline' API -/// functions and 'extern' variables are realized. A couple of default -/// handlers are also installed here. The entry points in this file are -/// considered 'core' routines that will always be present at runtime in any -/// PK application. - -#define __PPE42_IRQ_CORE_C__ - -#include "pk.h" - -#ifndef STATIC_IRQ_TABLE -Ppe42IrqHandler __ppe42_irq_handlers[EXTERNAL_IRQS + 1]; -#endif - -/// This function is installed by default for interrupts not explicitly set up -/// by the application. These interrupts should never fire. - -void -__ppe42_default_irq_handler(void* arg, PkIrqId irq) -{ - PK_PANIC(PPE42_DEFAULT_IRQ_HANDLER); -} - - -/// This function is installed by default to handle the case that the -/// interrupt dispatch code is entered in response to an external -/// interrupt, but no interrupt is found pending in the interrupt -/// controller. This should never happen, as it would indicate that a -/// 'glitch' occurred on the external interrupt input -/// to the PPE42 core. - -void __ppe42_phantom_irq_handler(void* arg, PkIrqId irq) -{ - PK_PANIC(PPE42_PHANTOM_INTERRUPT); -} - - -#undef __PPE42_IRQ_CORE_C__ |