diff options
Diffstat (limited to 'src/include/usr/errl/hberrltypes.H')
-rw-r--r-- | src/include/usr/errl/hberrltypes.H | 55 |
1 files changed, 31 insertions, 24 deletions
diff --git a/src/include/usr/errl/hberrltypes.H b/src/include/usr/errl/hberrltypes.H index 427029305..7ed897f40 100644 --- a/src/include/usr/errl/hberrltypes.H +++ b/src/include/usr/errl/hberrltypes.H @@ -5,7 +5,7 @@ /* */ /* OpenPOWER HostBoot Project */ /* */ -/* Contributors Listed Below - COPYRIGHT 2012,2016 */ +/* Contributors Listed Below - COPYRIGHT 2012,2017 */ /* [+] International Business Machines Corp. */ /* */ /* */ @@ -84,6 +84,36 @@ namespace ERRORLOG { class ErrlEntry; }; ( (TO_UINT32(TWO_UINT8_TO_UINT16(mostleft_8, left_8)) << 16) | \ (TO_UINT32(TWO_UINT8_TO_UINT16(right_8, mostright_8))) ) + +/** + * @brief SRC type definitions + * Needs to fit into 1 byte for flattening purposes. + * + * This represents the byte in an SRC in position + * XX...... such as BC in BC81F00B. + * + * Refer to errlentry.H and this setter: + * void ErrlEntry::setSrcType(const srcType_t i_srcType) + * + */ +enum srcType_t +{ + SRCI_INTERVENTION_REQ = 0xA1, + SRCI_MACH_CHECK = 0xB1, + SRCI_ERR_INFO = 0xB1, + SRCI_IPL_STATUS = 0xC1, + SRCI_GENERAL_STATUS = 0xD1, + SRCI_DUMP_STATUS = 0xD1, + + HBT_INTERVENTION_REQ = 0xAC, + HBT_ERR_INFO = 0xBC, + HBT_IPL_STATUS = 0xCC, + HBT_GENERAL_STATUS = 0xDC, + + POWR_PHYP_STATUS = 0x10, +}; + + namespace ERRORLOG { @@ -204,29 +234,6 @@ enum errlEventType_t ERRL_ETYPE_CAPACITY_UPGRADE = 0x60, }; - - - -/** - * @brief SRC type definitions - * Needs to fit into 1 byte for flattening purposes. - * - * This represents the byte in an SRC in position - * XX...... such as BC in BC81F00B. - * - * Refer to errlentry.H and this setter: - * void ErrlEntry::setSrcType(const srcType_t i_srcType) - * - */ -enum srcType_t -{ - SRC_INTERVENTION_REQ = 0xAC, - SRC_ERR_INFO = 0xBC, - SRC_IPL_STATUS = 0xCC, - SRC_GENERAL_STATUS = 0xDC, -}; - - /** * @brief Sub system definitions * Needs to fit into 1 byte for flattening purposes. |