diff options
author | Brian Horton <brianh@linux.ibm.com> | 2014-01-23 16:33:31 -0600 |
---|---|---|
committer | A. Patrick Williams III <iawillia@us.ibm.com> | 2014-02-11 15:34:27 -0600 |
commit | 4e25467149ebbbeb60a8656c0bf681d475fd33ab (patch) | |
tree | 1ad4507b914f66138b61475021239c12ac13c057 /src/include/usr/hwas/hwasplatreasoncodes.H | |
parent | b7733595ec491960fa6c97f5ad1fb2c47ac5592c (diff) | |
download | talos-hostboot-4e25467149ebbbeb60a8656c0bf681d475fd33ab.tar.gz talos-hostboot-4e25467149ebbbeb60a8656c0bf681d475fd33ab.zip |
cleanup hwas error module/reasoncodes to work with FSP better.
Change-Id: I1ae2fafab64811d6f68f57d437bd5fba16a5d532
CQ: SW239708
Co-req: 910348
Reviewed-on: http://gfw160.aus.stglabs.ibm.com:8080/gerrit/8284
Tested-by: Jenkins Server
Reviewed-by: MIKE J. JONES <mjjones@us.ibm.com>
Reviewed-by: Donald E. Dahle <dedahle@us.ibm.com>
Reviewed-by: A. Patrick Williams III <iawillia@us.ibm.com>
Diffstat (limited to 'src/include/usr/hwas/hwasplatreasoncodes.H')
-rw-r--r-- | src/include/usr/hwas/hwasplatreasoncodes.H | 50 |
1 files changed, 50 insertions, 0 deletions
diff --git a/src/include/usr/hwas/hwasplatreasoncodes.H b/src/include/usr/hwas/hwasplatreasoncodes.H new file mode 100644 index 000000000..fc14e2a0d --- /dev/null +++ b/src/include/usr/hwas/hwasplatreasoncodes.H @@ -0,0 +1,50 @@ +/* IBM_PROLOG_BEGIN_TAG */ +/* This is an automatically generated prolog. */ +/* */ +/* $Source: src/include/usr/hwas/hwasplatreasoncodes.H $ */ +/* */ +/* IBM CONFIDENTIAL */ +/* */ +/* COPYRIGHT International Business Machines Corp. 2014 */ +/* */ +/* p1 */ +/* */ +/* Object Code Only (OCO) source materials */ +/* Licensed Internal Code Source Materials */ +/* IBM HostBoot Licensed Internal Code */ +/* */ +/* The source code for this program is not published or otherwise */ +/* divested of its trade secrets, irrespective of what has been */ +/* deposited with the U.S. Copyright Office. */ +/* */ +/* Origin: 30 */ +/* */ +/* IBM_PROLOG_END_TAG */ +#ifndef HWASPLATREASONCODES_H +#define HWASPLATREASONCODES_H + +namespace HWAS +{ + enum HwasPlatModuleID + { + // + // Code to identify discrete error locations/events + // + // @note Must always start @ 0x80, since common module IDs occupy + // 0x00 -> 0x7F range + MOD_HOST_DISCOVER_TARGETS = 0x80, + MOD_HOST_GARD = 0x81, + MOD_PLAT_DECONFIG_GARD = 0x82, + }; + + enum HwasPlatReasonCode + { + // @note Must always start @ 0x80, since common reason codes occupy + // 0x00 -> 0x7F range + RC_TOP_LEVEL_TARGET_NULL = HWAS_COMP_ID | 0x80, + RC_TARGET_NOT_GARDABLE = HWAS_COMP_ID | 0x81, + RC_GARD_REPOSITORY_FULL = HWAS_COMP_ID | 0x82, + }; +}; + +#endif |