diff options
| author | Dan Crowell <dcrowell@us.ibm.com> | 2013-07-16 11:13:11 -0500 |
|---|---|---|
| committer | A. Patrick Williams III <iawillia@us.ibm.com> | 2013-07-30 16:43:06 -0500 |
| commit | 12ff45d42b4fa04bdbf36ed36147b5c07e36939f (patch) | |
| tree | 2d675ac72aa7f74745c2653bad7a2e26ecbc791d /src/usr/runtime/errlud_hdat.H | |
| parent | b24fe45bee8160d77f130161267ba5a575098a77 (diff) | |
| download | talos-hostboot-12ff45d42b4fa04bdbf36ed36147b5c07e36939f.tar.gz talos-hostboot-12ff45d42b4fa04bdbf36ed36147b5c07e36939f.zip | |
Support SPIRA-H HDAT Format
Change-Id: If87eedf15c1ef96ea00c1a5574ad1f6b72e697b5
RTC: 71881
Reviewed-on: http://gfw160.austin.ibm.com:8080/gerrit/5498
Reviewed-by: Michael Baiocchi <baiocchi@us.ibm.com>
Tested-by: Jenkins Server
Reviewed-by: Douglas R. Gilbert <dgilbert@us.ibm.com>
Reviewed-by: A. Patrick Williams III <iawillia@us.ibm.com>
Diffstat (limited to 'src/usr/runtime/errlud_hdat.H')
| -rw-r--r-- | src/usr/runtime/errlud_hdat.H | 127 |
1 files changed, 127 insertions, 0 deletions
diff --git a/src/usr/runtime/errlud_hdat.H b/src/usr/runtime/errlud_hdat.H new file mode 100644 index 000000000..bba024294 --- /dev/null +++ b/src/usr/runtime/errlud_hdat.H @@ -0,0 +1,127 @@ +/* IBM_PROLOG_BEGIN_TAG */ +/* This is an automatically generated prolog. */ +/* */ +/* $Source: src/usr/runtime/errlud_hdat.H $ */ +/* */ +/* IBM CONFIDENTIAL */ +/* */ +/* COPYRIGHT International Business Machines Corp. 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_UD_HDAT_H +#define ERRL_UD_HDAT_H + +/** + * @file errlud_naca.H + * + * Defines the classes that logs and parses various HDAT structures + */ + +#include <errl/errluserdetails.H> +#include "hdatstructs.H" + +namespace RUNTIME +{ + +/** + * @class UdNaca + * + * Adds NACA FFDC to an error log as user detail data + */ +class UdNaca : public ERRORLOG::ErrlUserDetails +{ +public: + /** + * @brief Constructor + * + * Copies the NACA data into the FFDC data + * + * @param i_naca Pointer to NACA data to capture + */ + UdNaca(hdatNaca_t* i_naca); + + /** + * @brief Destructor + */ + virtual ~UdNaca(); + +private: + // Disabled + UdNaca(UdNaca &); + UdNaca & operator=(UdNaca &); +}; + + +/** + * @class UdSpira + * + * Adds SPIRA FFDC to an error log as user detail data + */ +class UdSpira : public ERRORLOG::ErrlUserDetails +{ +public: + /** + * @brief Constructor + * + * Copies the SPIRA data into the FFDC data + * + * @param i_spira Pointer to Spira data to capture + */ + UdSpira(hdatSpira_t* i_spira); + + /** + * @brief Destructor + */ + virtual ~UdSpira(); + +private: + // Disabled + UdSpira(UdSpira &); + UdSpira & operator=(UdSpira &); +}; + + +/** + * @class UdSpira + * + * Adds a Tuple FFDC to an error log as user detail data + */ +class UdTuple : public ERRORLOG::ErrlUserDetails +{ +public: + /** + * @brief Constructor + * + * Copies the SPIRA data into the FFDC data + * + * @param i_spira Pointer to Spira data to capture + */ + UdTuple(hdat5Tuple_t* i_spira); + + /** + * @brief Destructor + */ + virtual ~UdTuple(); + +private: + // Disabled + UdTuple(UdSpira &); + UdTuple & operator=(UdSpira &); +}; + +} + +#endif + |

