/* IBM_PROLOG_BEGIN_TAG */ /* This is an automatically generated prolog. */ /* */ /* $Source: src/include/usr/hwpf/hwp/erepairSetFailedLanesHwp.H $ */ /* */ /* IBM CONFIDENTIAL */ /* */ /* COPYRIGHT International Business Machines Corp. 2013 */ /* */ /* p1 */ /* */ /* Object Code Only (OCO) source materials */ /* Licensed Internal Code Source Materials */ /* IBM HostBoot Licensed Internal Code */ /* */ /* The source code for this program is not published or otherwise */ /* divested of its trade secrets, irrespective of what has been */ /* deposited with the U.S. Copyright Office. */ /* */ /* Origin: 30 */ /* */ /* IBM_PROLOG_END_TAG */ /** * @file erepairSetFailedLanesHwp.H * * @brief FW Team HWP that accesses the fail lanes of Fabric and Memory buses. */ /* * Change Log ****************************************************************** * Flag Defect/Feature User Date Description * ------ -------------- ---------- ----------- ---------------------------- * bilicon 10-Jan-2013 Created. */ #ifndef EREPAIRSETFAILEDLANESHWP_H_ #define EREPAIRSETFAILEDLANESHWP_H_ #include #include typedef fapi::ReturnCode (*erepairSetFailedLanesHwp_FP_t)( const fapi::Target &i_tgtHandle, std::vector &i_txFailLanes, std::vector &i_rxFailLanes); extern "C" { /** * @brief FW Team HWP that writes the Field eRepair fail lanes to the VPD. * The fail lanes will be written to either the P8 MVPD or the * Centaur FRU VPD depending on the passed target type. * * @param[in] i_tgtHandle Reference to X-Bus or A-Bus or MCS or memBuf Target * @param[in] i_txFailLanes Reference to a vector that has the Tx side * (of i_tgtHandle) fail lane numbers that need * to be written to the VPD * @param[in] i_rxFailLanes Reference to a vector that has the Rx side * (of i_tgtHandle) fail lane numbers that need * to be written to the VPD * * @return ReturnCode * */ fapi::ReturnCode erepairSetFailedLanesHwp( const fapi::Target &i_tgtHandle, const std::vector &i_txFailLanes, const std::vector &i_rxFailLanes); }// end of extern C #endif