/* IBM_PROLOG_BEGIN_TAG */ /* This is an automatically generated prolog. */ /* */ /* $Source: chips/p9/procedures/hwp/io/p9_io_obus_scominit.H $ */ /* */ /* IBM CONFIDENTIAL */ /* */ /* EKB Project */ /* */ /* COPYRIGHT 2015 */ /* [+] International Business Machines Corp. */ /* */ /* */ /* 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. */ /* */ /* IBM_PROLOG_END_TAG */ /// /// @file p9_io_obus_scominit.H /// @brief Invoke OBUS initfile (FAPI) /// //---------------------------------------------------------------------------- // *HWP HWP Owner : Chris Steffen // *HWP HWP Backup Owner: // *HWP FW Owner : Sumit Kumar // *HWP Team : IO // *HWP Level : 1 // *HWP Consumed by : FSP:HB //---------------------------------------------------------------------------- #ifndef P9_IO_OBUS_SCOMINIT_H_ #define P9_IO_OBUS_SCOMINIT_H_ //------------------------------------------------------------------------------ // Includes //------------------------------------------------------------------------------ #include //------------------------------------------------------------------------------ // Constant definitions //------------------------------------------------------------------------------ //------------------------------------------------------------------------------ // Structure definitions //------------------------------------------------------------------------------ // function pointer typedef definition for HWP call support typedef fapi2::ReturnCode (*p9_io_obus_scominit_FP_t) (const fapi2::Target& i_target, const fapi2::Target& i_connected_target); extern "C" { //------------------------------------------------------------------------------ // Function prototypes //------------------------------------------------------------------------------ /** * @brief HWP that calls the OBUS SCOM initfiles * * Should be called for all valid/connected OBUS endpoints * * @param[in] i_target Reference to OBUS chiplet target * i_connected_target Reference to connected OBUS chiplet target * - p9.obus.scom.initfile * * @return FAPI2_RC_SUCCESS on success, error otherwise */ fapi2::ReturnCode p9_io_obus_scominit( const fapi2::Target& i_target, const fapi2::Target& i_connected_target); } // extern "C" #endif // P9_IO_OBUS_SCOMINIT_H_