summaryrefslogtreecommitdiffstats
path: root/src/include
diff options
context:
space:
mode:
Diffstat (limited to 'src/include')
-rw-r--r--src/include/usr/diag/prdf/prdfPnorFirDataReader.H8
-rw-r--r--src/include/usr/diag/prdf/prdfReadPnorFirData.H5
2 files changed, 10 insertions, 3 deletions
diff --git a/src/include/usr/diag/prdf/prdfPnorFirDataReader.H b/src/include/usr/diag/prdf/prdfPnorFirDataReader.H
index 1dc112682..a2b3f46cd 100644
--- a/src/include/usr/diag/prdf/prdfPnorFirDataReader.H
+++ b/src/include/usr/diag/prdf/prdfPnorFirDataReader.H
@@ -1,7 +1,7 @@
/* IBM_PROLOG_BEGIN_TAG */
/* This is an automatically generated prolog. */
/* */
-/* $Source: src/usr/diag/prdf/occ_firdata/prdfPnorFirDataReader.H $ */
+/* $Source: src/include/usr/diag/prdf/prdfPnorFirDataReader.H $ */
/* */
/* OpenPOWER HostBoot Project */
/* */
@@ -87,6 +87,12 @@ class PnorFirDataReader
*/
void addFfdc( errlHndl_t io_errl ) const;
+ /**
+ * @brief Get IPL/Runtime state indicator
+ * @return True if we were in IPL state, False if we were in runtime state
+ */
+ bool isIplState() const;
+
private:
PnorTrgtMap iv_trgtRegMap; ///< Register data for each target/address.
diff --git a/src/include/usr/diag/prdf/prdfReadPnorFirData.H b/src/include/usr/diag/prdf/prdfReadPnorFirData.H
index 00e1e9ff0..46a38e01b 100644
--- a/src/include/usr/diag/prdf/prdfReadPnorFirData.H
+++ b/src/include/usr/diag/prdf/prdfReadPnorFirData.H
@@ -1,7 +1,7 @@
/* IBM_PROLOG_BEGIN_TAG */
/* This is an automatically generated prolog. */
/* */
-/* $Source: src/usr/diag/prdf/occ_firdata/prdfReadPnorFirData.H $ */
+/* $Source: src/include/usr/diag/prdf/prdfReadPnorFirData.H $ */
/* */
/* OpenPOWER HostBoot Project */
/* */
@@ -42,8 +42,9 @@ struct PnorFfdc
{
uint8_t trgts; ///< Total number of target in the PNOR data.
bool full; ///< True if the PNOR data was unable to capture all regs.
+ bool iplStateActive; // True if IPL state, false if runtime state
- PnorFfdc() : trgts(0), full(false) {}
+ PnorFfdc() : trgts(0), full(false), iplStateActive(false) {}
PnorFfdc( uint8_t t, bool f ) : trgts(t), full(f) {}
};
OpenPOWER on IntegriCloud