diff options
| author | Dan Crowell <dcrowell@us.ibm.com> | 2013-08-19 08:56:23 -0500 |
|---|---|---|
| committer | A. Patrick Williams III <iawillia@us.ibm.com> | 2013-09-13 17:38:38 -0500 |
| commit | 5d8dd9af9d7a4df742ebbd8cdf20c58a8e95b05f (patch) | |
| tree | 6c8e663be551562a7835d4f554a13e5afe7e317a /src/include/usr/runtime | |
| parent | 45f3421a82460ed2ce5dd86d3bb62209ac9d948e (diff) | |
| download | talos-hostboot-5d8dd9af9d7a4df742ebbd8cdf20c58a8e95b05f.tar.gz talos-hostboot-5d8dd9af9d7a4df742ebbd8cdf20c58a8e95b05f.zip | |
Catch overrun of HSVC attributes in HDAT
Ran into a problem integrating a new HB release that would have
been a lot easier to debug if this code had been there.
Change-Id: I3c420172bcff25a7042d3ee603f179273ba88761
Reviewed-on: http://gfw160.austin.ibm.com:8080/gerrit/5827
Tested-by: Jenkins Server
Reviewed-by: A. Patrick Williams III <iawillia@us.ibm.com>
Diffstat (limited to 'src/include/usr/runtime')
| -rw-r--r-- | src/include/usr/runtime/runtime.H | 11 | ||||
| -rw-r--r-- | src/include/usr/runtime/runtime_reasoncodes.H | 4 |
2 files changed, 14 insertions, 1 deletions
diff --git a/src/include/usr/runtime/runtime.H b/src/include/usr/runtime/runtime.H index 0536d2c63..d98e1451e 100644 --- a/src/include/usr/runtime/runtime.H +++ b/src/include/usr/runtime/runtime.H @@ -124,6 +124,17 @@ void update_MDRT_Count(uint16_t i_count); */ errlHndl_t write_MDRT_Count(void); +/* + * @brief Retrieve and log FFDC data relevant to a given section of + * host data memory + * + * @param[in] i_section Relevant section + * @param[inout] io_errlog Log to append FFDC to + * + * @return errlHndl_t NULL on success + */ +void add_host_data_ffdc( SectionId i_section, + errlHndl_t& io_errlog ); } diff --git a/src/include/usr/runtime/runtime_reasoncodes.H b/src/include/usr/runtime/runtime_reasoncodes.H index 3c888abf1..4f3a37af2 100644 --- a/src/include/usr/runtime/runtime_reasoncodes.H +++ b/src/include/usr/runtime/runtime_reasoncodes.H @@ -46,6 +46,7 @@ namespace RUNTIME MOD_TCE_MAP = 0x0E, /**< tce.C */ MOD_HDATSERVICE_FINDSPIRA = 0x0F, /** hdatservice.C */ MOD_HDATSERVICE_UPDATE_SECTION_ACTUAL = 0x10, /**< hdatservice.C */ + MOD_HDATSERVICE_MAPREGION = 0x11, /**< hdatservice.C */ }; enum RuntimeReasonCode @@ -56,7 +57,7 @@ namespace RUNTIME RC_BAD_HDAT_TUPLE = RUNTIME_COMP_ID | 0x03, RC_INVALID_STANDALONE = RUNTIME_COMP_ID | 0x04, RC_CANNOT_MAP_MEMORY = RUNTIME_COMP_ID | 0x05, - RC_WRONG_PAYLOAD_ATTRS = RUNTIME_COMP_ID | 0x06, + //RC_XXX = RUNTIME_COMP_ID | 0x06, RC_CANNOT_MAP_MEMORY2 = RUNTIME_COMP_ID | 0x07, RC_INVALID_PAYLOAD_KIND = RUNTIME_COMP_ID | 0x08, RC_NO_HSVC_NODE_DATA_FOUND = RUNTIME_COMP_ID | 0x09, @@ -74,6 +75,7 @@ namespace RUNTIME RC_TCE_ENTRY_NOT_CONTIGUOUS = RUNTIME_COMP_ID | 0x15, RC_NO_SPIRA = RUNTIME_COMP_ID | 0x16, RC_CANNOT_MAP_HDAT = RUNTIME_COMP_ID | 0x17, + RC_NOT_ENOUGH_SPACE = RUNTIME_COMP_ID | 0x18, }; enum UserDetailsTypes |

