diff options
Diffstat (limited to 'src/usr/diag/prdf/plat/prdfPlatServices.H')
-rw-r--r-- | src/usr/diag/prdf/plat/prdfPlatServices.H | 24 |
1 files changed, 24 insertions, 0 deletions
diff --git a/src/usr/diag/prdf/plat/prdfPlatServices.H b/src/usr/diag/prdf/plat/prdfPlatServices.H index e1710119c..b99c20bed 100644 --- a/src/usr/diag/prdf/plat/prdfPlatServices.H +++ b/src/usr/diag/prdf/plat/prdfPlatServices.H @@ -53,6 +53,10 @@ #include <prdfBitString.H> #include <mem/prdfMemRank.H> +#ifdef CONFIG_NVDIMM +#include <isteps/nvdimm/nvdimm.H> +#endif + //------------------------------------------------------------------------------ namespace PRDF @@ -169,6 +173,26 @@ uint32_t getMemAddrRange( ExtensibleChip * i_chip, template<TARGETING::TYPE T> bool isRowRepairEnabled( ExtensibleChip * i_chip, const MemRank & i_rank ); +#ifdef CONFIG_NVDIMM +/** + * @brief Notify PHYP/Hostboot of NVDIMM protection status + * + * @param i_target Processor with NVDIMM + * @param i_state Protection state of NVDIMM + */ +uint32_t nvdimmNotifyProtChange( TARGETING::TargetHandle_t i_target, + const NVDIMM::nvdimm_protection_t i_state ); + +/** + * @brief Add SMART-specific, page 4 NVDIMM registers to the FFDC + * + * @param i_nvdimm An nvdimm target + * @param io_errl Error log to add the FFDC to + */ +void nvdimmAddFfdc( TARGETING::TargetHandle_t i_nvdimm, errlHndl_t & io_errl ); + +#endif + //############################################################################## //## Nimbus/Centaur Maintenance Command wrappers //############################################################################## |