summaryrefslogtreecommitdiffstats
path: root/src/include/usr/errl/errlmanager.H
diff options
context:
space:
mode:
authorMonte Copeland <copelanm@us.ibm.com>2011-10-24 09:30:49 -0500
committerMonte K. Copeland <copelanm@us.ibm.com>2011-10-31 11:07:10 -0500
commit723239d5a14fe82713a2aa57fef3130534b15a41 (patch)
treeb6d19b1d1d66ec9ea4acd19c0dfdb47bcf86babd /src/include/usr/errl/errlmanager.H
parentf2794eed87ca9c35140c601dfcbb5baf299d834b (diff)
downloadtalos-hostboot-723239d5a14fe82713a2aa57fef3130534b15a41.tar.gz
talos-hostboot-723239d5a14fe82713a2aa57fef3130534b15a41.zip
Error log changes for Sprint 6
Change-Id: I44ad678cfae8cd84e5370391dc7e20d74f59c9ca Reviewed-on: http://gfw160.austin.ibm.com:8080/gerrit/449 Tested-by: Jenkins Server Reviewed-by: Mark W. Wenning <wenning@us.ibm.com> Reviewed-by: Monte K. Copeland <copelanm@us.ibm.com>
Diffstat (limited to 'src/include/usr/errl/errlmanager.H')
-rw-r--r--src/include/usr/errl/errlmanager.H19
1 files changed, 13 insertions, 6 deletions
diff --git a/src/include/usr/errl/errlmanager.H b/src/include/usr/errl/errlmanager.H
index 4f1275eef..d6d5c5a05 100644
--- a/src/include/usr/errl/errlmanager.H
+++ b/src/include/usr/errl/errlmanager.H
@@ -39,6 +39,10 @@
#include <sys/sync.h>
#include <vector>
#include <kernel/timemgr.H>
+#include <hbotcompid.H>
+
+
+
namespace ERRORLOG
{
@@ -59,11 +63,14 @@ namespace ERRORLOG
* linker issue in HostBoot (linker can't find singleton outside of
* a module).
*
- * @param[in,out] io_err Error log handle to be committed
+ * @param[in,out] io_err Error log handle to be committed
+ * @param[in] i_comitterComp Component committing the error log
*
* @return None
*/
-void errlCommit(errlHndl_t& io_err);
+
+// TODO Work item 4104 to make comitter comp required, no default.
+void errlCommit(errlHndl_t& io_err, compId_t i_committerComp = 0 );
/*****************************************************************************/
// Forward class declarations
@@ -100,7 +107,7 @@ public:
*
* @return None
*/
- void commitErrLog(errlHndl_t& io_err);
+ void commitErrLog(errlHndl_t& io_err, compId_t i_committerComp );
/**
* @brief Returns a unique error log ID
@@ -139,10 +146,10 @@ private:
ErrlManager(const ErrlManager& i_right);
ErrlManager& operator=(const ErrlManager& i_right);
+
/**
- * @brief
- * Current log ID: increment this when assigning log ID to a new errlog
- * as it is being committed.
+ * @brief Current log ID. As new error logs are created,
+ * this value will be used to assign the new error log its ID.
*/
uint32_t iv_currLogId;
OpenPOWER on IntegriCloud