summaryrefslogtreecommitdiffstats
path: root/src/include/usr/errl/errlentry.H
diff options
context:
space:
mode:
Diffstat (limited to 'src/include/usr/errl/errlentry.H')
-rw-r--r--src/include/usr/errl/errlentry.H20
1 files changed, 20 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
OpenPOWER on IntegriCloud