summaryrefslogtreecommitdiffstats
path: root/src/import/chips/p9/procedures/hwp/lib/p9_ppe_state.H
diff options
context:
space:
mode:
authorAshish <ashish.more@in.ibm.com>2016-08-24 02:13:51 -0400
committerDaniel M. Crowell <dcrowell@us.ibm.com>2017-08-01 22:45:03 -0400
commit00e35f01c1a6c5a1bf4c1183d3f16150f33b723e (patch)
tree0be1110e6bfc45e9d146afb72b8246395f7f1b6c /src/import/chips/p9/procedures/hwp/lib/p9_ppe_state.H
parente2701588e1cadc422360b596d699e3c08589d47a (diff)
downloadtalos-hostboot-00e35f01c1a6c5a1bf4c1183d3f16150f33b723e.tar.gz
talos-hostboot-00e35f01c1a6c5a1bf4c1183d3f16150f33b723e.zip
SIBRC details
Change-Id: I993b33a991d0c04e6eeb661c7b746f5998c45f1b Original-Change-Id: I8159352751dd039f44e851315bf2b9d4cb1ab5fb Cange-Id: I2b728046ef7b898666d3f1f0076e387f2d937f5b Reviewed-on: http://ralgit01.raleigh.ibm.com/gerrit1/32173 Tested-by: Jenkins Server <pfd-jenkins+hostboot@us.ibm.com> Reviewed-by: Anusha Reddy Rangareddygari <anusrang@in.ibm.com> Reviewed-by: Brian T. Vanderpool <vanderp@us.ibm.com> Reviewed-by: Jennifer A. Stofer <stofer@us.ibm.com> Reviewed-on: http://ralgit01.raleigh.ibm.com/gerrit1/44065 Tested-by: Jenkins OP Build CI <op-jenkins+hostboot@us.ibm.com> Tested-by: FSP CI Jenkins <fsp-CI-jenkins+hostboot@us.ibm.com> Reviewed-by: Daniel M. Crowell <dcrowell@us.ibm.com>
Diffstat (limited to 'src/import/chips/p9/procedures/hwp/lib/p9_ppe_state.H')
-rw-r--r--src/import/chips/p9/procedures/hwp/lib/p9_ppe_state.H103
1 files changed, 1 insertions, 102 deletions
diff --git a/src/import/chips/p9/procedures/hwp/lib/p9_ppe_state.H b/src/import/chips/p9/procedures/hwp/lib/p9_ppe_state.H
index 24011b4f9..79a145231 100644
--- a/src/import/chips/p9/procedures/hwp/lib/p9_ppe_state.H
+++ b/src/import/chips/p9/procedures/hwp/lib/p9_ppe_state.H
@@ -33,111 +33,10 @@
/// *HWP Team : PM
/// *HWP Level : 2
/// *HWP Consumed by : SBE, Cronus
+#include <p9_ppe_utils.H>
#ifndef __P9_PPE_STATE_H__
#define __P9_PPE_STATE_H__
-typedef struct
-{
- uint16_t number;
- std::string name;
-} PPEReg_t;
-
-typedef struct
-{
- PPEReg_t reg;
- uint32_t value;
-} PPERegValue_t;
-
-typedef struct
-{
- PPEReg_t reg;
- uint64_t value;
-} SCOMRegValue_t;
-
-
-enum PPE_DUMP_MODE
-{
- XIRS = 0x0,
- SNAPSHOT = 0x1,
- HALT = 0x2,
- FORCE_HALT = 0x3
-};
-enum VERBOSE_MODE
-{
- NOVERBOSE = 0x0,
- VERBOSE = 0x1,
- VERBOSEP = 0x2,
-};
-
-enum INT_VEC_OFFSET
-{
- MCHK_VEC = 0x000 , // 0,
- SRST_VEC = 0x040 , // 64,
- DSI_VEC = 0x060 , // 96,
- ISI_VEC = 0x080 , // 128,
- EXT_VEC = 0x0A0 , // 160,
- ALIG_VEC = 0x0C0 , // 192,
- PRG_VEC = 0x0E0 , // 224,
- DEC_VEC = 0x100 , // 256,
- FIT_VEC = 0x120 , // 288,
- WDT_VEC = 0x140 , // 320,
-} ;
-enum PPE_XIRS
-{
- XIR_XSR,
- XIR_IAR,
- XIR_IR,
- XIR_EDR,
- XIR_SPRG0,
-};
-
-enum PPE_SPECIAL_ACCESS
-{
- MSR,
- CR,
-};
-enum PPE_SPRS
-{
- CTR = 9,
- DACR = 316,
- DBCR = 308,
- DEC = 22,
- IVPR = 63,
- ISR = 62,
- LR = 8,
- PIR = 286,
- PVR = 287,
- SPRG0 = 272,
- SRR0 = 26,
- SRR1 = 27,
- TCR = 340,
- TSR = 336,
- XER = 1, //336,
-};
-
-
-// Note: EDR is available via XIR
-enum PPE_GPRS
-{
- R0 = 0,
- R1 = 1,
- R2 = 2,
- R3 = 3,
- R4 = 4,
- R5 = 5,
- R6 = 6,
- R7 = 7,
- R8 = 8,
- R9 = 9,
- R10 = 10,
- R13 = 13,
- R28 = 28,
- R29 = 29,
- R30 = 30,
- R31 = 31,
-};
-
-
/// @typedef p9_ppe_state_FP_t
/// function pointer typedef definition for HWP call support
OpenPOWER on IntegriCloud