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