diff options
author | Zane Shelley <zshelle@us.ibm.com> | 2017-06-06 10:14:14 -0500 |
---|---|---|
committer | William A. Bryan <wilbryan@us.ibm.com> | 2017-06-12 13:14:19 -0400 |
commit | dadf2726aa024c7100fe295af78bdfc2e88fb7ef (patch) | |
tree | 708f32c2fd8c083614c8dfbf15c8800840bfacbe /src/occ_405/firdata/pnorData_common.h | |
parent | 64aa59154988abbce20a2491cba49e985b37f775 (diff) | |
download | talos-occ-dadf2726aa024c7100fe295af78bdfc2e88fb7ef.tar.gz talos-occ-dadf2726aa024c7100fe295af78bdfc2e88fb7ef.zip |
FIRDATA: updates to FIRDATA constants
Change-Id: I4207cf6d9ac85ecbb16f04263ca57a8c61d6d1f5
Reviewed-on: http://ralgit01.raleigh.ibm.com/gerrit1/41279
Tested-by: FSP CI Jenkins <fsp-CI-jenkins+hostboot@us.ibm.com>
Reviewed-by: William G. Hoffa <wghoffa@us.ibm.com>
Reviewed-by: Benjamin J. Weisenbeck <bweisenb@us.ibm.com>
Reviewed-by: Caleb N. Palmer <cnpalmer@us.ibm.com>
Reviewed-by: Martha Broyles <mbroyles@us.ibm.com>
Reviewed-by: William A. Bryan <wilbryan@us.ibm.com>
Diffstat (limited to 'src/occ_405/firdata/pnorData_common.h')
-rw-r--r-- | src/occ_405/firdata/pnorData_common.h | 11 |
1 files changed, 7 insertions, 4 deletions
diff --git a/src/occ_405/firdata/pnorData_common.h b/src/occ_405/firdata/pnorData_common.h index 2b9f4d1..a020ae9 100644 --- a/src/occ_405/firdata/pnorData_common.h +++ b/src/occ_405/firdata/pnorData_common.h @@ -1,11 +1,11 @@ /* IBM_PROLOG_BEGIN_TAG */ /* This is an automatically generated prolog. */ /* */ -/* $Source: src/occ/firdata/pnorData.H $ */ +/* $Source: src/occ_405/firdata/pnorData_common.h $ */ /* */ /* OpenPOWER OnChipController Project */ /* */ -/* Contributors Listed Below - COPYRIGHT 2015 */ +/* Contributors Listed Below - COPYRIGHT 2015,2017 */ /* [+] International Business Machines Corp. */ /* */ /* */ @@ -106,13 +106,16 @@ typedef enum /** Information for each target with SCOM data. */ typedef struct __attribute__((packed)) { - uint32_t type : 3; /** Target type. See enum TrgtType_t */ + uint32_t reserved1: 3; uint32_t procPos : 3; /** The processor position (0-7) */ uint32_t unitPos : 4; /** Unit position relative to the processor (0-15) */ uint32_t regs : 9; /** Number of normal registers */ uint32_t idRegs : 4; /** Number of indirect-SCOM registers */ uint32_t scomErrs : 9; /** Number of SCOM errors detected */ + uint8_t trgtType : 6; /** Target type. See enum TrgtType_t */ + uint8_t reserved : 2; + } PNOR_Trgt_t; /** @param i_type Target type. See enum TrgtType_t. @@ -124,7 +127,7 @@ static inline PNOR_Trgt_t PNOR_getTrgt( uint32_t i_type, uint32_t i_procPos, uint32_t i_procUnitPos ) { PNOR_Trgt_t t; - t.type = i_type; + t.trgtType = i_type; t.procPos = i_procPos; t.unitPos = i_procUnitPos; t.regs = 0; |