diff options
author | Mike Jones <mjjones@us.ibm.com> | 2013-01-22 09:41:25 -0600 |
---|---|---|
committer | A. Patrick Williams III <iawillia@us.ibm.com> | 2013-02-08 16:49:45 -0600 |
commit | caf328ccd931de4ce4e4d285d1a4e5ddd151abb5 (patch) | |
tree | 650c28362fef4b7fd3d8e727d2b13e25f119434b /src/include/usr/errl/errlreasoncodes.H | |
parent | 7c50ac8fa046052334326fd4f3c8447cb0c9514d (diff) | |
download | talos-hostboot-caf328ccd931de4ce4e4d285d1a4e5ddd151abb5.tar.gz talos-hostboot-caf328ccd931de4ce4e4d285d1a4e5ddd151abb5.zip |
ERRL: Create Hostboot error log SRC/UD parser and deliver to FSP bld
A new script called genErrlParsers will scan the Hostboot code for
error log tags and create a SRC parser for each component. The
script will also scan the Hostboot code for plugin directories
containing User Detail Data parsers and will create a makefile
that is used by the FSP to build each component's SRC/UD parser.
Change-Id: I7113f6cd8069447a1caaa199aff199b663d59072
RTC: 47518
Reviewed-on: http://gfw160.austin.ibm.com:8080/gerrit/2975
Tested-by: Jenkins Server
Reviewed-by: A. Patrick Williams III <iawillia@us.ibm.com>
Diffstat (limited to 'src/include/usr/errl/errlreasoncodes.H')
-rw-r--r-- | src/include/usr/errl/errlreasoncodes.H | 80 |
1 files changed, 45 insertions, 35 deletions
diff --git a/src/include/usr/errl/errlreasoncodes.H b/src/include/usr/errl/errlreasoncodes.H index bf10908b6..04f4c3d19 100644 --- a/src/include/usr/errl/errlreasoncodes.H +++ b/src/include/usr/errl/errlreasoncodes.H @@ -1,26 +1,25 @@ -/* IBM_PROLOG_BEGIN_TAG - * This is an automatically generated prolog. - * - * $Source: src/include/usr/errl/errlreasoncodes.H $ - * - * IBM CONFIDENTIAL - * - * COPYRIGHT International Business Machines Corp. 2011-2012 - * - * 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 other- - * wise divested of its trade secrets, irrespective of what has - * been deposited with the U.S. Copyright Office. - * - * Origin: 30 - * - * IBM_PROLOG_END_TAG - */ +/* IBM_PROLOG_BEGIN_TAG */ +/* This is an automatically generated prolog. */ +/* */ +/* $Source: src/include/usr/errl/errlreasoncodes.H $ */ +/* */ +/* IBM CONFIDENTIAL */ +/* */ +/* COPYRIGHT International Business Machines Corp. 2011,2013 */ +/* */ +/* 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 __ERRL_REASON_CODES_H #define __ERRL_REASON_CODES_H @@ -34,27 +33,38 @@ #include <hbotcompid.H> // Module IDs for ERRL component -enum +enum errlModuleId { - HBERRL_FIRST_MODULE_ID = 0x00, - HBERRL_USERDATA_TEST_MOD_ID = 1, - HBERRL_TEST_MOD_ID = 2, + ERRL_FIRST_MODULE_ID = 0x00, + ERRL_USERDATA_TEST_MOD_ID = 0x01, + ERRL_TEST_MOD_ID = 0x02, //........ - HBERRL_LAST_MODULE_ID = 0xFF + ERRL_LAST_MODULE_ID = 0xFF }; // Reason codes for ERRL component enum errlReasonCode { - HBERRL_FIRST_ERR = HBERRL_COMP_ID | 0x01, - HBERRL_TEST_STRING_UD = HBERRL_COMP_ID | 0x02, - HBERRL_TEST_REASON_CODE = HBERRL_COMP_ID | 0x03, - HBERRL_TEST_ATTRIBUTE_UD = HBERRL_COMP_ID | 0x04, - HBERRL_TEST_LOGREGISTER_UD = HBERRL_COMP_ID | 0x05, - HBERRL_TEST_CALLOUT_UD = HBERRL_COMP_ID | 0x06, + ERRL_FIRST_ERR = ERRL_COMP_ID | 0x01, + ERRL_TEST_STRING_UD = ERRL_COMP_ID | 0x02, + ERRL_TEST_REASON_CODE = ERRL_COMP_ID | 0x03, + ERRL_TEST_ATTRIBUTE_UD = ERRL_COMP_ID | 0x04, + ERRL_TEST_LOGREGISTER_UD = ERRL_COMP_ID | 0x05, + ERRL_TEST_CALLOUT_UD = ERRL_COMP_ID | 0x06, //........ - HBERRL_LAST_ERR = HBERRL_COMP_ID | 0xFF + ERRL_LAST_ERR = ERRL_COMP_ID | 0xFF }; +// Identifiers for ERRL user data sections. +enum errlUserDetailDataSubsection +{ + ERRL_UDT_NOFORMAT = 0x00, + ERRL_UDT_STRING = 0x01, + ERRL_UDT_TARGET = 0x02, + ERRL_UDT_BACKTRACE = 0x03, + ERRL_UDT_ATTRIBUTE = 0x04, + ERRL_UDT_LOGREGISTER = 0x05, + ERRL_UDT_CALLOUT = 0x06, +}; #endif |