diff options
author | Patrick Williams <iawillia@us.ibm.com> | 2014-03-06 13:32:44 -0600 |
---|---|---|
committer | A. Patrick Williams III <iawillia@us.ibm.com> | 2014-03-07 14:20:46 -0600 |
commit | e016f3f0eb6e126f410e66ff3623c8a6d5850b81 (patch) | |
tree | 50f09e37a15868475404bde23d3cbb211940394c /src/include/usr/errl/errlmanager.H | |
parent | 4083a7cd7829d52121eb26bf41a12d8d298d2062 (diff) | |
download | talos-hostboot-e016f3f0eb6e126f410e66ff3623c8a6d5850b81.tar.gz talos-hostboot-e016f3f0eb6e126f410e66ff3623c8a6d5850b81.zip |
Ensure error logs during IPL are caught as CxxTest fail.
RTC: 39871
Change-Id: I6a3045609d696f5d7d6f3d240da17a150ad70af7
Reviewed-on: http://gfw160.aus.stglabs.ibm.com:8080/gerrit/9362
Reviewed-by: Brian H. Horton <brianh@linux.ibm.com>
Tested-by: Jenkins Server
Reviewed-by: Daniel M. Crowell <dcrowell@us.ibm.com>
Reviewed-by: Andrew J. Geissler <andrewg@us.ibm.com>
Reviewed-by: A. Patrick Williams III <iawillia@us.ibm.com>
Diffstat (limited to 'src/include/usr/errl/errlmanager.H')
-rw-r--r-- | src/include/usr/errl/errlmanager.H | 12 |
1 files changed, 11 insertions, 1 deletions
diff --git a/src/include/usr/errl/errlmanager.H b/src/include/usr/errl/errlmanager.H index 23319a81a..134e3958f 100644 --- a/src/include/usr/errl/errlmanager.H +++ b/src/include/usr/errl/errlmanager.H @@ -5,7 +5,7 @@ /* */ /* IBM CONFIDENTIAL */ /* */ -/* COPYRIGHT International Business Machines Corp. 2011,2013 */ +/* COPYRIGHT International Business Machines Corp. 2011,2014 */ /* */ /* p1 */ /* */ @@ -170,6 +170,14 @@ public: return iv_hwasProcessCalloutFn; } + /** + * @brief Determines if any non-informational logs have been committed + * during this boot. + * + * @return true - A non-informational log has been committed. + */ + static bool errlCommittedThisBoot(); + protected: /** * @brief Destructor @@ -422,6 +430,8 @@ private: bool iv_isSpBaseServices; // do we need to send to FSP bool iv_isMboxEnabled; // are we able to send to FSP std::list<msg_t *> iv_errlToSend; // msgs still to be sent to FSP + + bool iv_nonInfoCommitted; //< Keeps track of any non-informational logs. }; } // End namespace |