diff options
| author | Brad Bishop <bradleyb@us.ibm.com> | 2012-03-13 13:53:53 -0500 |
|---|---|---|
| committer | A. Patrick Williams III <iawillia@us.ibm.com> | 2012-03-19 10:57:31 -0500 |
| commit | 4bd432b988c1fe06c835bc6a4e4f901e136c30e7 (patch) | |
| tree | 7ce43242b1691151c334891358da7f0a6fb835ba /src/include/usr/diag/mdia | |
| parent | f1760e04ceab564f8cef0c8d267bece75cce116c (diff) | |
| download | talos-hostboot-4bd432b988c1fe06c835bc6a4e4f901e136c30e7.tar.gz talos-hostboot-4bd432b988c1fe06c835bc6a4e4f901e136c30e7.zip | |
initial mdia commit. directories, makefiles, workitem
Change-Id: Ic48a13935bfea72def5cdc63db3a93bb659ded30
Reviewed-on: http://gfw160.austin.ibm.com:8080/gerrit/751
Tested-by: Jenkins Server
Reviewed-by: A. Patrick Williams III <iawillia@us.ibm.com>
Diffstat (limited to 'src/include/usr/diag/mdia')
| -rw-r--r-- | src/include/usr/diag/mdia/mdia.H | 68 |
1 files changed, 68 insertions, 0 deletions
diff --git a/src/include/usr/diag/mdia/mdia.H b/src/include/usr/diag/mdia/mdia.H new file mode 100644 index 000000000..2cc587604 --- /dev/null +++ b/src/include/usr/diag/mdia/mdia.H @@ -0,0 +1,68 @@ +// IBM_PROLOG_BEGIN_TAG +// This is an automatically generated prolog. +// +// $Source: src/include/usr/diag/mdia/mdia.H $ +// +// IBM CONFIDENTIAL +// +// COPYRIGHT International Business Machines Corp. 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 +#ifndef __MDIA_MDIA_H +#define __MDIA_MDIA_H + +#include <errl/errlentry.H> + +/** + * @file mdia.H + * @brief mdia component interface + */ + +class PrdfMdiaMessage; + +namespace MDIA +{ +/** + * @brief runStep istep dispatcher entry point. + * + * execute the memory diagnostics ipl step + * + * @return errlHndl_t. Error log handle. + * @retval 0 no errors + * @retval !0 error occurred + * + * @pre memory ready to hold data, node free of attentions + * @post memory tested and initialized, ready to hold data + */ +errlHndl_t runStep(); + +/** + * @brief processEvent prd callback + * + * called by prd to inform memory diagnostics of attention + * related events like maint command complete or hw error. + * + * @param[in] i_event prd attention event to be processed + * + * @return errlHndl_t. Error log handle. + * @retval 0 no errors + * @retval !0 error occurred + * + * @pre memory diagnostics ipl step in progress + * @post message processed + */ +errlHndl_t processEvent(PrdfMdiaMessage & i_event); +} +#endif |

