summaryrefslogtreecommitdiffstats
path: root/src/include/usr/errl
diff options
context:
space:
mode:
authorBrian Horton <brianh@linux.ibm.com>2013-09-06 15:53:38 -0500
committerA. Patrick Williams III <iawillia@us.ibm.com>2013-09-13 14:13:05 -0500
commit45f3421a82460ed2ce5dd86d3bb62209ac9d948e (patch)
tree3f0fa314bdc1e483397f3cfd92f52f1dec638e88 /src/include/usr/errl
parent5fddfa6e7b67e3ffe96e5b232646363a99edf1d1 (diff)
downloadblackbird-hostboot-45f3421a82460ed2ce5dd86d3bb62209ac9d948e.tar.gz
blackbird-hostboot-45f3421a82460ed2ce5dd86d3bb62209ac9d948e.zip
Determine starting error log id.
errlManager will set starting log id based on the node (0x9#) and the highest id of the error logs found in memory. Change-Id: I1867b83d069e048fcb411bb243b6eaf62ab578c7 RTC: 68687 Reviewed-on: http://gfw160.austin.ibm.com:8080/gerrit/6062 Tested-by: Jenkins Server Reviewed-by: Daniel M. Crowell <dcrowell@us.ibm.com> Reviewed-by: Andrea Y. Ma <ayma@us.ibm.com> Reviewed-by: A. Patrick Williams III <iawillia@us.ibm.com>
Diffstat (limited to 'src/include/usr/errl')
-rw-r--r--src/include/usr/errl/errlmanager.H10
1 files changed, 5 insertions, 5 deletions
diff --git a/src/include/usr/errl/errlmanager.H b/src/include/usr/errl/errlmanager.H
index 75a5ae25e..ef51fc659 100644
--- a/src/include/usr/errl/errlmanager.H
+++ b/src/include/usr/errl/errlmanager.H
@@ -179,16 +179,16 @@ private:
* @enum ERRORLOG_PLID_OFFSET
*
* Base ID of Hostboot PLIDs. The hostboot plid range is 0x90 to 0x93
- * (For each instance running on a multinode system. Eventually the
- * offset will need to be offset for the proper node and possibly some
- * other initializer sent from FSP to keep PLIDs unique across IPLs.
+ * for each instance running on a multinode system.
*
- * NOTE: Changes to this define may require changes to
+ * NOTE: Changes to this define (if '9' changes) will require changes to
* CpuManager::requestShutdown
*/
enum ERRORLOG_PLID_OFFSET
{
- ERRLOG_PLID_BASE = 0x90000000, /**< Hostboot Base PLID Offset */
+ ERRLOG_PLID_BASE = 0x90000000,// Hostboot Base PLID Offset
+ ERRLOG_PLID_NODE_SHIFT = 24, // shift to put node number 0x9#
+ ERRLOG_PLID_MASK = 0x00FFFFFF,// mask to find log number
};
/**
OpenPOWER on IntegriCloud