Skip to content

Commit

Permalink
p9_ppe_commands : Enhanced single step
Browse files Browse the repository at this point in the history
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/42286
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>
  • Loading branch information
Ashish authored and dcrowell77 committed Jun 23, 2017
1 parent 9209c26 commit fbfac0c
Showing 1 changed file with 25 additions and 10 deletions.
35 changes: 25 additions & 10 deletions src/import/chips/p9/procedures/hwp/lib/p9_ppe_utils.H
Expand Up @@ -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
{
Expand Down Expand Up @@ -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,
Expand All @@ -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,

};


Expand Down

0 comments on commit fbfac0c

Please sign in to comment.