summaryrefslogtreecommitdiffstats
path: root/src/import/chips
diff options
context:
space:
mode:
authorAshish <ashish.more@in.ibm.com>2016-09-22 07:55:02 -0400
committerSachin Gupta <sgupta2m@in.ibm.com>2017-10-04 08:26:12 -0400
commitedaa6aed3fcc9267380c4776a51a5396d222519a (patch)
treee767e1446c1e97873993e24b190e8b88372a84bf /src/import/chips
parentb9568e50deef7509a938068eb52e79426a89ed9b (diff)
downloadtalos-sbe-edaa6aed3fcc9267380c4776a51a5396d222519a.tar.gz
talos-sbe-edaa6aed3fcc9267380c4776a51a5396d222519a.zip
p9_ppe_commands : Enhanced single step
Change-Id: I7dfd4a1cde9147b011584a8404a3f73f2412ff24 Reviewed-on: http://ralgit01.raleigh.ibm.com/gerrit1/30086 Tested-by: Jenkins Server <pfd-jenkins+hostboot@us.ibm.com> Reviewed-by: Brian T. Vanderpool <vanderp@us.ibm.com> Reviewed-by: Gregory S. Still <stillgs@us.ibm.com> Reviewed-on: http://ralgit01.raleigh.ibm.com/gerrit1/47134 Reviewed-by: Sachin Gupta <sgupta2m@in.ibm.com>
Diffstat (limited to 'src/import/chips')
-rw-r--r--src/import/chips/p9/procedures/hwp/lib/p9_ppe_utils.H35
1 files changed, 25 insertions, 10 deletions
diff --git a/src/import/chips/p9/procedures/hwp/lib/p9_ppe_utils.H b/src/import/chips/p9/procedures/hwp/lib/p9_ppe_utils.H
index 8f894576..e71ebb62 100644
--- a/src/import/chips/p9/procedures/hwp/lib/p9_ppe_utils.H
+++ b/src/import/chips/p9/procedures/hwp/lib/p9_ppe_utils.H
@@ -38,15 +38,22 @@
#define __P9_PPE_UTILS_H__
typedef struct
{
- uint16_t number;
+ uint16_t number;
+ uint32_t value;
+} PPERegValue_t;
+
+typedef struct
+{
+ PPERegValue_t reg;
std::string name;
} PPEReg_t;
typedef struct
{
- PPEReg_t reg;
- uint32_t value;
-} PPERegValue_t;
+ uint16_t number;
+ std::string name;
+} PPEReg_num_name_t;
+
typedef struct
{
@@ -100,17 +107,18 @@ enum PPE_XIRS
XIR_SPRG0,
};
-enum PPE_SPECIAL_ACCESS
-{
- MSR,
- CR,
-};
+//enum PPE_SPECIAL_ACCESS
+//{
+// MSR,
+// CR,
+//};
enum PPE_SPRS
{
CTR = 9,
DACR = 316,
DBCR = 308,
DEC = 22,
+ EDR = 61,
IVPR = 63,
ISR = 62,
LR = 8,
@@ -121,7 +129,14 @@ enum PPE_SPRS
SRR1 = 27,
TCR = 340,
TSR = 336,
- XER = 1, //336,
+ XER = 1,
+ //Some unique identification no. FOR OTHER REGS(non sprn)
+ XSR = 4200,
+ IAR = 2,
+ IR = 3,
+ MSR = 42,
+ CR = 420,
+
};
OpenPOWER on IntegriCloud