summaryrefslogtreecommitdiffstats
path: root/src/include
diff options
context:
space:
mode:
Diffstat (limited to 'src/include')
-rwxr-xr-xsrc/include/usr/diag/prdf/common/prdf_service_codes.H1
-rw-r--r--src/include/usr/diag/prdf/prdfMain.H12
2 files changed, 13 insertions, 0 deletions
diff --git a/src/include/usr/diag/prdf/common/prdf_service_codes.H b/src/include/usr/diag/prdf/common/prdf_service_codes.H
index 1656b56a2..bc8e8b04a 100755
--- a/src/include/usr/diag/prdf/common/prdf_service_codes.H
+++ b/src/include/usr/diag/prdf/common/prdf_service_codes.H
@@ -61,6 +61,7 @@ enum ModuleId
PRDF_RAS_SERVICES = 0x0B,
PRDF_RESTORE_DRAM_REPAIR = 0x0C,
PRDF_MNFG_IPL_CE_ANALYSIS = 0x0D,
+ PRDF_START_SCRUB = 0x0E,
};
/******************************************************************************/
diff --git a/src/include/usr/diag/prdf/prdfMain.H b/src/include/usr/diag/prdf/prdfMain.H
index 17a8ef65e..93203a1ac 100644
--- a/src/include/usr/diag/prdf/prdfMain.H
+++ b/src/include/usr/diag/prdf/prdfMain.H
@@ -59,6 +59,18 @@ extern int32_t restoreDramRepairs( const TARGETING::TargetHandle_t i_mba );
extern int32_t analyzeIplCEStats( const TARGETING::TargetHandle_t i_mba,
bool &o_calloutMade );
+/**
+ * @brief Starts memory background scrubbing on all MBAs in the node.
+ *
+ * This will only start the initial fast scrub of all memory. PRD on the FSP or
+ * HostServices (SP-less machines) will need to resume normal background
+ * scrubbing once this initial fast scrub is complete.
+ *
+ * @return If an error log is returned, then some internal function failed. See
+ * the FFDC in the error log for failure details.
+ */
+extern errlHndl_t startScrub();
+
} // end namespace PRDF
#endif // __prdfMain_H
OpenPOWER on IntegriCloud