summaryrefslogtreecommitdiffstats
path: root/src/include/usr/errl/errlsrc.H
diff options
context:
space:
mode:
authorBrian Horton <brianh@linux.ibm.com>2013-10-25 14:52:43 -0500
committerA. Patrick Williams III <iawillia@us.ibm.com>2013-11-14 17:10:27 -0600
commit931ed57963b8f63c67dc45144c2bb65b3f014a56 (patch)
treead8cb470618236b50a201cb1995ec66d9a2a2d9c /src/include/usr/errl/errlsrc.H
parent7c353ef9c158531352888b47264ace19675b95f8 (diff)
downloadblackbird-hostboot-931ed57963b8f63c67dc45144c2bb65b3f014a56.tar.gz
blackbird-hostboot-931ed57963b8f63c67dc45144c2bb65b3f014a56.zip
store error logs in PNOR
. store error logs in PNOR, truncating to 4K . set and clear ACKnowledge bit as appropriate . move PNOR and MBOX init code in errlmanager until after PNOR and MBOX services are actually up and running Change-Id: I57c5bacae8ffd283577164a0706c081a8ef5af30 RTC: 47517 Reviewed-on: http://gfw160.austin.ibm.com:8080/gerrit/6884 Tested-by: Jenkins Server Reviewed-by: A. Patrick Williams III <iawillia@us.ibm.com>
Diffstat (limited to 'src/include/usr/errl/errlsrc.H')
-rw-r--r--src/include/usr/errl/errlsrc.H11
1 files changed, 6 insertions, 5 deletions
diff --git a/src/include/usr/errl/errlsrc.H b/src/include/usr/errl/errlsrc.H
index 89fa9cbef..b6a98b519 100644
--- a/src/include/usr/errl/errlsrc.H
+++ b/src/include/usr/errl/errlsrc.H
@@ -46,6 +46,7 @@ class ErrlSrc : public ErrlSctn
// you would expect to be part of ErrlEntry are actually instance data
// in this class.
friend class ErrlEntry;
+ friend class ErrlManager;
private:
@@ -57,8 +58,10 @@ private:
SST = 1, // section type
VER = 1, // section version
SRCVER = 2, // SRC version (not section version)
- WORDCOUNT = 9 // SRC word count
- // CSS_VER = 8 // TODO unused, relates to iv_cssver[]
+ WORDCOUNT = 9, // SRC word count
+ DECONFIG_BIT = 0x02000000, // deconfig bit (6) in word 5
+ GARD_BIT = 0x01000000, // gard bit (7) in word 5
+ ACK_BIT = 0x00200000, // ack bit (10) in word 5
};
@@ -145,7 +148,7 @@ private:
* @note return value is only valid if input is valid hex digit
* '0'-'9', 'A'-'F', 'a'='f'
*/
- uint64_t aschex2bin(char c);
+ uint64_t aschex2bin(char c) const;
// Instance data
srcType_t iv_srcType : 8; // SRC type, the ?? in SRC ??xxxxxx
@@ -156,8 +159,6 @@ private:
uint64_t iv_user2; // user data 2
bool iv_deconfig; // true if there is a deconfigure callout
bool iv_gard; // true if there is a gard callout
-
-
};
OpenPOWER on IntegriCloud