summaryrefslogtreecommitdiffstats
path: root/src/include/usr/hwas/common/hwas_reasoncodes.H
diff options
context:
space:
mode:
authorBrian Horton <brianh@linux.ibm.com>2014-01-23 16:33:31 -0600
committerA. Patrick Williams III <iawillia@us.ibm.com>2014-02-11 15:34:27 -0600
commit4e25467149ebbbeb60a8656c0bf681d475fd33ab (patch)
tree1ad4507b914f66138b61475021239c12ac13c057 /src/include/usr/hwas/common/hwas_reasoncodes.H
parentb7733595ec491960fa6c97f5ad1fb2c47ac5592c (diff)
downloadtalos-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/common/hwas_reasoncodes.H')
-rw-r--r--src/include/usr/hwas/common/hwas_reasoncodes.H31
1 files changed, 9 insertions, 22 deletions
diff --git a/src/include/usr/hwas/common/hwas_reasoncodes.H b/src/include/usr/hwas/common/hwas_reasoncodes.H
index 071623629..b053973f8 100644
--- a/src/include/usr/hwas/common/hwas_reasoncodes.H
+++ b/src/include/usr/hwas/common/hwas_reasoncodes.H
@@ -5,7 +5,7 @@
/* */
/* IBM CONFIDENTIAL */
/* */
-/* COPYRIGHT International Business Machines Corp. 2011,2013 */
+/* COPYRIGHT International Business Machines Corp. 2011,2014 */
/* */
/* p1 */
/* */
@@ -29,35 +29,22 @@ namespace HWAS
{
MOD_DECONFIG_GARD = 0x01,
MOD_PROCESS_CALLOUT = 0x02,
- MOD_HOST_DISCOVER_TARGETS = 0x03,
- MOD_HOST_GARD = 0x04,
- MOD_CHECK_MIN_HW = 0x05,
+ MOD_CHECK_MIN_HW = 0x03,
};
enum HwasReasonCode
{
- // these are HWAS Common specific, and will get mapped into 'correct'
- // codes by the appropriate platform-specific function
- RC_TARGET_NOT_DECONFIGURABLE = 0x01,
- RC_TARGET_NOT_GARDABLE = 0x02,
- RC_GARD_REPOSITORY_FULL = 0x03,
- RC_TARGET_NOT_FOUND_FOR_GARD_RECORD = 0x04,
- RC_INVALID_TARGET = 0x05,
- RC_TOP_LEVEL_TARGET_NULL = 0x06,
+ RC_TARGET_NOT_DECONFIGURABLE = HWAS_COMP_ID | 0x01,
+ RC_TARGET_NOT_FOUND_FOR_GARD_RECORD = HWAS_COMP_ID | 0x02,
+ RC_INVALID_TARGET = HWAS_COMP_ID | 0x03,
//
// System Availability Service codes
// The first is a blanket error that will be returned to the caller,
// further errors will be committed in the routine.
- RC_SYSAVAIL_INSUFFICIENT_HW = 0x10,
- // common with FSP
- RC_SYSAVAIL_NO_CORES_FUNC = 0x11,
- RC_SYSAVAIL_NO_MEMORY_FUNC = 0x12,
- // fsp only
- RC_SYSAVAIL_NO_PROCS_FUNC = 0x13,
- RC_SYSAVAIL_NO_PROC_CLOCKS_FUNC = 0x14,
- RC_SYSAVAIL_NO_MEM_CLOCKS_FUNC = 0x15,
- RC_SYSAVAIL_NO_TOD_CLOCKS_FUNC = 0x16,
- // For each new reason code, update FSP's hwasPlatError.C file
+ RC_SYSAVAIL_INSUFFICIENT_HW = HWAS_COMP_ID | 0x04,
+ RC_SYSAVAIL_NO_CORES_FUNC = HWAS_COMP_ID | 0x05,
+ RC_SYSAVAIL_NO_MEMORY_FUNC = HWAS_COMP_ID | 0x06,
+ RC_SYSAVAIL_NO_PROCS_FUNC = HWAS_COMP_ID | 0x07,
};
};
OpenPOWER on IntegriCloud