diff options
author | Brian Horton <brianh@linux.ibm.com> | 2013-09-27 06:11:21 -0500 |
---|---|---|
committer | A. Patrick Williams III <iawillia@us.ibm.com> | 2013-10-07 10:25:53 -0500 |
commit | 65ef164ec915c3e9c2f02d8450a12ce997e588a1 (patch) | |
tree | ebced7df40c969db1ae166165c7cdae0b5e67e8d /src/include/usr | |
parent | b8d7070d329b3a6577ae6c11ae7b1afb27db7a22 (diff) | |
download | talos-hostboot-65ef164ec915c3e9c2f02d8450a12ce997e588a1.tar.gz talos-hostboot-65ef164ec915c3e9c2f02d8450a12ce997e588a1.zip |
set deconfigure and gard bits in errlog as appropriate.
Change-Id: I1a39ee435df10fcc16dda165e5fc7cbfda35d724
CQ: SW226070
Reviewed-on: http://gfw160.austin.ibm.com:8080/gerrit/6374
Reviewed-by: Donald E. Dahle <dedahle@us.ibm.com>
Tested-by: Jenkins Server
Reviewed-by: Daniel M. Crowell <dcrowell@us.ibm.com>
Reviewed-by: A. Patrick Williams III <iawillia@us.ibm.com>
Diffstat (limited to 'src/include/usr')
-rw-r--r-- | src/include/usr/errl/errlentry.H | 20 | ||||
-rw-r--r-- | src/include/usr/errl/errlsrc.H | 2 |
2 files changed, 22 insertions, 0 deletions
diff --git a/src/include/usr/errl/errlentry.H b/src/include/usr/errl/errlentry.H index 7da534152..d90f358a6 100644 --- a/src/include/usr/errl/errlentry.H +++ b/src/include/usr/errl/errlentry.H @@ -331,6 +331,15 @@ public: void addUserData2( const uint64_t i_data ); /** + * @brief set Deconfigure and GARD bits in Hex Word 5 + * + * @return void + * + */ + void setDeconfigBit(); + void setGardBit(); + + /** * @brief Return iv_Src user data words. * * @return data1 word from SRC @@ -695,6 +704,17 @@ inline void ErrlEntry::addUserData2( const uint64_t i_data ) { iv_Src.iv_user2 = i_data; } + +//////////////////////////////////////////////////////////////////////////// +//////////////////////////////////////////////////////////////////////////// +inline void ErrlEntry::setDeconfigBit() +{ + iv_Src.iv_deconfig = true; +} +inline void ErrlEntry::setGardBit() +{ + iv_Src.iv_gard = true; +} //////////////////////////////////////////////////////////////////////////// //////////////////////////////////////////////////////////////////////////// inline uint64_t ErrlEntry::getUserData1() const diff --git a/src/include/usr/errl/errlsrc.H b/src/include/usr/errl/errlsrc.H index 66d907b84..42c75158b 100644 --- a/src/include/usr/errl/errlsrc.H +++ b/src/include/usr/errl/errlsrc.H @@ -138,6 +138,8 @@ private: epubSubSystem_t iv_ssid : 8 ; // subsystem type, the ?? in SRC xx??xxxx uint64_t iv_user1; // user data 1 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 }; |