diff options
author | Brian Horton <brianh@linux.ibm.com> | 2015-06-02 10:13:20 -0500 |
---|---|---|
committer | A. Patrick Williams III <iawillia@us.ibm.com> | 2015-09-03 14:33:02 -0500 |
commit | 06e40c4aa3efe6f006dc7971ad58f08f42117ea3 (patch) | |
tree | e7bcc5a38340a630c17126bc3782064e2c0b9274 /src/include/usr/errl/errlmanager.H | |
parent | 4ae690e4eeb9297ed59ff932cc4184d23896234d (diff) | |
download | talos-hostboot-06e40c4aa3efe6f006dc7971ad58f08f42117ea3.tar.gz talos-hostboot-06e40c4aa3efe6f006dc7971ad58f08f42117ea3.zip |
add support to write errlog to PNOR during runtime
Change-Id: Ia2b211d8ebf489e92f2bc3d281d92175a6b61f30
Depends-On: I170d6586062b6e4684a55782df83a1b19ed7d937
Depends-On: Id8c44b0dcdb5714c163ac6485a53216786f9fbcf
Depends-On: I626bce5c8c0c8b7d0a44408280de178c7a86a83f
RTC: 123419
Reviewed-on: http://gfw160.aus.stglabs.ibm.com:8080/gerrit/18233
Tested-by: Jenkins Server
Tested-by: Jenkins OP Build CI
Reviewed-by: STEPHEN M. CPREK <smcprek@us.ibm.com>
Tested-by: Jenkins OP HW
Reviewed-by: WILLIAM G. HOFFA <wghoffa@us.ibm.com>
Tested-by: FSP CI Jenkins
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 | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/src/include/usr/errl/errlmanager.H b/src/include/usr/errl/errlmanager.H index 92fcac9b6..586b42221 100644 --- a/src/include/usr/errl/errlmanager.H +++ b/src/include/usr/errl/errlmanager.H @@ -255,8 +255,13 @@ private: */ enum ERRORLOG_PLID_OFFSET { +#ifdef __HOSTBOOT_RUNTIME + ERRLOG_PLID_BASE = 0x80000000,// Hostboot Runtime Base PLID Offset + ERRLOG_PLID_BASE_MASK = 0x89000000,// mask of just the id +#else ERRLOG_PLID_BASE = 0x90000000,// Hostboot Base PLID Offset ERRLOG_PLID_BASE_MASK = 0x9F000000,// mask of just the id +#endif ERRLOG_PLID_NODE_SHIFT = 24, // shift to put node number 0x9# ERRLOG_PLID_MASK = 0x00FFFFFF,// mask to find log number ERRLOG_PLID_INITIAL = 0x00FF0000,// initial big id number @@ -346,6 +351,7 @@ private: */ void sendMboxMsg ( errlHndl_t& io_err ); +#ifdef STORE_ERRL_IN_L3 /** * @brief Save errlog entry in the memory * @@ -354,6 +360,7 @@ private: * */ void saveErrLogEntry( errlHndl_t& io_err ); +#endif /** * @brief Shutdown error log manager |