summaryrefslogtreecommitdiffstats
path: root/src/include
diff options
context:
space:
mode:
Diffstat (limited to 'src/include')
-rw-r--r--src/include/usr/hwas/hwasPlat.H6
-rw-r--r--src/include/usr/hwas/hwasPlatReasonCodes.H2
2 files changed, 8 insertions, 0 deletions
diff --git a/src/include/usr/hwas/hwasPlat.H b/src/include/usr/hwas/hwasPlat.H
index 6beb85aa7..8ccddd588 100644
--- a/src/include/usr/hwas/hwasPlat.H
+++ b/src/include/usr/hwas/hwasPlat.H
@@ -63,6 +63,12 @@ void markTargetChanged(TARGETING::TargetHandle_t i_target)
{};
#endif
+/**
+ * @brief Helper function to check if HB is running
+ * from an NVDIMM and not a regular DIMM
+ */
+errlHndl_t checkForHbOnNvdimm();
+
// default unknown EC level
constexpr TARGETING::ATTR_EC_type INVALID__ATTR_EC = 0xFF;
diff --git a/src/include/usr/hwas/hwasPlatReasonCodes.H b/src/include/usr/hwas/hwasPlatReasonCodes.H
index 6ca33397a..a0ea1f962 100644
--- a/src/include/usr/hwas/hwasPlatReasonCodes.H
+++ b/src/include/usr/hwas/hwasPlatReasonCodes.H
@@ -38,6 +38,7 @@ namespace HWAS
MOD_PLAT_DECONFIG_GARD = 0x81,
MOD_PLAT_READIDEC = 0x82,
MOD_PLAT_READLX = 0x83,
+ MOD_CHECK_HB_NVDIMM = 0x84,
};
enum HwasPlatReasonCode
@@ -52,6 +53,7 @@ namespace HWAS
RC_BAD_MCA = HWAS_COMP_ID | 0x85,
RC_RT_NULL_FIRMWARE_REQUEST_PTR = HWAS_COMP_ID | 0x86,
RC_RT_NULL_FIRMWARE_MSG_PTR = HWAS_COMP_ID | 0x87,
+ RC_HB_PROC_ONLY_NVDIMM = HWAS_COMP_ID | 0x88,
};
};
OpenPOWER on IntegriCloud