diff options
author | Yue Du <daviddu@us.ibm.com> | 2016-02-24 23:27:38 -0600 |
---|---|---|
committer | Joshua Hunsberger <jahunsbe@us.ibm.com> | 2017-10-23 15:59:17 -0500 |
commit | 4e0ebb999ef2d8410e6fbf7cdeccca9fdcfc13b9 (patch) | |
tree | f65edbdc98d869a48e25215515e0319cf8f81025 /import/chips/p9/common/pmlib/include/cmehw_interrupts.h | |
parent | 76a94f66239f0bcb6fb34faee9df973fc78e3d91 (diff) | |
download | talos-hcode-4e0ebb999ef2d8410e6fbf7cdeccca9fdcfc13b9.tar.gz talos-hcode-4e0ebb999ef2d8410e6fbf7cdeccca9fdcfc13b9.zip |
Combined Stop/PState Cme Image + unified interrupt handler
Change-Id: Ie954197008f1a35bd8336c9d921f55165ec52207
Reviewed-on: http://ralgit01.raleigh.ibm.com/gerrit1/20857
Tested-by: Jenkins Server
Reviewed-by: Gregory S. Still <stillgs@us.ibm.com>
Diffstat (limited to 'import/chips/p9/common/pmlib/include/cmehw_interrupts.h')
-rw-r--r-- | import/chips/p9/common/pmlib/include/cmehw_interrupts.h | 23 |
1 files changed, 0 insertions, 23 deletions
diff --git a/import/chips/p9/common/pmlib/include/cmehw_interrupts.h b/import/chips/p9/common/pmlib/include/cmehw_interrupts.h index 738d9269..2b96d961 100644 --- a/import/chips/p9/common/pmlib/include/cmehw_interrupts.h +++ b/import/chips/p9/common/pmlib/include/cmehw_interrupts.h @@ -284,27 +284,4 @@ STD_IRQ_MASK64(CMEHW_IRQ_RESERVED_63)) */ -//////////////////////////////////////////////////////////////////////////// -// Interrupt Mask Vector -//////////////////////////////////////////////////////////////////////////// - -// First, it should always be true to mask the given interrupt and every -// interrupts has larger irq id number than the given one. Then if the given -// interrupt belongs to a group of interrupts with same priority and the given -// one is not the first one in the group(in which case it will automatically -// work by first rule along), then an override bit mask can be used to mask out -// every one else in the group above the given one, or used for special cases. -#define CME_IRQ_MASK_VECTOR(irq) ((0xffffffffffffffffull << (irq)) >> (irq)) -#define CME_IRQ_MASK_VECTOR_AND(irq, amask) (CME_IRQ_MASK_VECTOR(irq) & amask) -#define CME_IRQ_MASK_VECTOR_OR(irq, omask) (CME_IRQ_MASK_VECTOR(irq) | omask) - -#define CME_IRQ_MASK_DB3 CME_IRQ_MASK_VECTOR(CMEHW_IRQ_DOORBELL3_C0) -#define CME_IRQ_MASK_WAKE CME_IRQ_MASK_VECTOR(CMEHW_IRQ_PC_INTR_PENDING_C0) -#define CME_IRQ_MASK_DB2 CME_IRQ_MASK_VECTOR(CMEHW_IRQ_DOORBELL2_C0) -#define CME_IRQ_MASK_STOP CME_IRQ_MASK_VECTOR(CMEHW_IRQ_PC_PM_STATE_ACTIVE_C0) -#define CME_IRQ_MASK_DB0 CME_IRQ_MASK_VECTOR(CMEHW_IRQ_PMCR_UPDATE_C0) -#define CME_IRQ_MASK_DB1 CME_IRQ_MASK_VECTOR(CMEHW_IRQ_DOORBELL1_C0) - - - #endif /* __CMEHW_INTERRUPTS_H__ */ |