diff options
| author | Brian Stegmiller <bjs@us.ibm.com> | 2015-08-17 13:50:00 -0500 |
|---|---|---|
| committer | A. Patrick Williams III <iawillia@us.ibm.com> | 2015-09-18 20:25:07 -0500 |
| commit | ef63b1a277b8ad231b308c0c197d663bd4b0eb13 (patch) | |
| tree | 7f8384c3d95d4b41e9273911941648ef0700a3e9 /src/include/usr/diag/prdf | |
| parent | f945eb6a6bec1076f1b3db00939e6b083d61dcab (diff) | |
| download | talos-hostboot-ef63b1a277b8ad231b308c0c197d663bd4b0eb13.tar.gz talos-hostboot-ef63b1a277b8ad231b308c0c197d663bd4b0eb13.zip | |
PRDF: Write IPL or RUNTIME flag to PNOR for chkstop handling
Change-Id: I4407c7e58756f51f8be1045e50b885d2b0285752
RTC: 132419
Reviewed-on: http://gfw160.aus.stglabs.ibm.com:8080/gerrit/19858
Tested-by: Jenkins Server
Reviewed-by: Caleb N. Palmer <cnpalmer@us.ibm.com>
Reviewed-by: BENJAMIN J. WEISENBECK <bweisenb@us.ibm.com>
Reviewed-by: A. Patrick Williams III <iawillia@us.ibm.com>
Reviewed-by: Zane Shelley <zshelle@us.ibm.com>
Reviewed-on: http://gfw160.aus.stglabs.ibm.com:8080/gerrit/20541
Tested-by: Jenkins OP Build CI
Tested-by: FSP CI Jenkins
Tested-by: Jenkins OP HW
Diffstat (limited to 'src/include/usr/diag/prdf')
| -rw-r--r-- | src/include/usr/diag/prdf/prdfPnorFirDataReader.H | 8 | ||||
| -rw-r--r-- | src/include/usr/diag/prdf/prdfReadPnorFirData.H | 5 |
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) {} }; |

