diff options
author | Alvin Wang <wangat@tw.ibm.com> | 2019-03-14 22:36:56 -0500 |
---|---|---|
committer | Daniel M. Crowell <dcrowell@us.ibm.com> | 2019-05-07 15:47:58 -0500 |
commit | 081679022f978b41f7764b50fe5b9e741b0d2ce3 (patch) | |
tree | ec27993c7b95d0f49745579f2badfac43b61f73a /src/import/chips/ocmb/explorer/procedures/hwp/memory/exp_scrub.H | |
parent | e28412847eab880521683afc182e3eaceb18a723 (diff) | |
download | talos-hostboot-081679022f978b41f7764b50fe5b9e741b0d2ce3.tar.gz talos-hostboot-081679022f978b41f7764b50fe5b9e741b0d2ce3.zip |
Add exp_scrub
Change-Id: Ibf52a563c7d8ce3e1cc97d07f3801b3bca58eddd
Reviewed-on: http://rchgit01.rchland.ibm.com/gerrit1/70247
Dev-Ready: Alvin Wang <wangat@tw.ibm.com>
Tested-by: Jenkins Server <pfd-jenkins+hostboot@us.ibm.com>
Tested-by: Hostboot CI <hostboot-ci+hostboot@us.ibm.com>
Tested-by: FSP CI Jenkins <fsp-CI-jenkins+hostboot@us.ibm.com>
Reviewed-by: Louis Stermole <stermole@us.ibm.com>
Reviewed-by: STEPHEN GLANCY <sglancy@us.ibm.com>
Reviewed-by: Jennifer A. Stofer <stofer@us.ibm.com>
Reviewed-on: http://rchgit01.rchland.ibm.com/gerrit1/75146
Reviewed-by: Daniel M. Crowell <dcrowell@us.ibm.com>
Tested-by: Daniel M. Crowell <dcrowell@us.ibm.com>
Diffstat (limited to 'src/import/chips/ocmb/explorer/procedures/hwp/memory/exp_scrub.H')
-rw-r--r-- | src/import/chips/ocmb/explorer/procedures/hwp/memory/exp_scrub.H | 31 |
1 files changed, 31 insertions, 0 deletions
diff --git a/src/import/chips/ocmb/explorer/procedures/hwp/memory/exp_scrub.H b/src/import/chips/ocmb/explorer/procedures/hwp/memory/exp_scrub.H index d3e650254..73affcb60 100644 --- a/src/import/chips/ocmb/explorer/procedures/hwp/memory/exp_scrub.H +++ b/src/import/chips/ocmb/explorer/procedures/hwp/memory/exp_scrub.H @@ -22,3 +22,34 @@ /* permissions and limitations under the License. */ /* */ /* IBM_PROLOG_END_TAG */ + +/// +/// @file exp_scrub.H +/// @brief Procedure declaration to begin background scrub +/// +// *HWP HWP Owner: Andre Marin <aamarin@us.ibm.com> +// *HWP HWP Backup: Stephen Glancy <sglancy@us.ibm.com> +// *HWP Team: Memory +// *HWP Level: 2 +// *HWP Consumed by: FSP:HB + +#ifndef __MSS_EXP_SCRUB__ +#define __MSS_EXP_SCRUB__ + +#include <fapi2.H> + +// Required for Cronus +typedef fapi2::ReturnCode (*exp_scrub_FP_t) (const fapi2::Target<fapi2::TARGET_TYPE_OCMB_CHIP>&); + +extern "C" +{ + + /// + /// @brief Begin background scrub + /// @param[in] i_target the controller + /// @return FAPI2_RC_SUCCESS iff ok + /// + fapi2::ReturnCode exp_scrub(const fapi2::Target<fapi2::TARGET_TYPE_OCMB_CHIP>& i_target); + +}// extern C +#endif |