diff options
Diffstat (limited to 'src/include/usr/hwas/common/hwas_reasoncodes.H')
| -rw-r--r-- | src/include/usr/hwas/common/hwas_reasoncodes.H | 31 |
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, }; }; |

