From 65ef164ec915c3e9c2f02d8450a12ce997e588a1 Mon Sep 17 00:00:00 2001 From: Brian Horton Date: Fri, 27 Sep 2013 06:11:21 -0500 Subject: 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 Tested-by: Jenkins Server Reviewed-by: Daniel M. Crowell Reviewed-by: A. Patrick Williams III --- src/include/usr/errl/errlentry.H | 20 ++++++++++++++++++++ src/include/usr/errl/errlsrc.H | 2 ++ 2 files changed, 22 insertions(+) (limited to 'src/include/usr') 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 @@ -330,6 +330,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. * @@ -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 }; -- cgit v1.2.1