lib/sw_apps/versal_psmfw/src/xpsmfw_ipi_manager.c
XStatus XPsmFw_IpiSendResponse(u32 IpiMask, u32 *Payload)
{
	XStatus Status = XST_FAILURE;

	Status = XIpiPsu_WriteMessage(IpiInstPtr, IpiMask, Payload,
				      PAYLOAD_ARG_CNT, XIPIPSU_BUF_TYPE_RESP);
	if (XST_SUCCESS != Status) {
		XPsmFw_Printf(DEBUG_ERROR, "%s: ERROR writing to IPI request buffer\n", __func__);
		goto done;
	}

done:
	return Status;
}
/****************************************************************************/
/**
 * @brief	Sends IPI response to the target.
 *
 * @param IpiMask	IPI interrupt mask of target
 * @param Payload	IPI response
 *
 * @return	XST_SUCCESS if successful else XST_FAILURE or an error code
 *		or a reason code
 *
 * @note	None
 *
 ****************************************************************************/
@brief       Sends IPI response to the target.
@param IpiMask       IPI interrupt mask of target
@param Payload       IPI response

@return      XST_SUCCESS if successful else XST_FAILURE or an error code
or a reason code

@note        None
@brief Sends IPI response to the target . @param IpiMask IPI interrupt mask of target @param Payload IPI response @return XST_SUCCESS if successful else XST_FAILURE or an error code or a reason code @note None
XStatus XPsmFw_IpiSendResponse(u32 IpiMask, u32 *Payload)
{
	XStatus Status = XST_FAILURE;
	Status = XIpiPsu_WriteMessage(IpiInstPtr, IpiMask, Payload,
				      PAYLOAD_ARG_CNT, XIPIPSU_BUF_TYPE_RESP);
	if (XST_SUCCESS != Status) {
		XPsmFw_Printf(DEBUG_ERROR, "%s: ERROR writing to IPI request buffer\n", __func__);
		goto done;
	}
done:
	return Status;
}
XStatus XPsmFw_IpiSendResponse ( u32 IpiMask , u32 * Payload ) { XStatus Status = XST_FAILURE ; Status = XIpiPsu_WriteMessage ( IpiInstPtr , IpiMask , Payload , PAYLOAD_ARG_CNT , XIPIPSU_BUF_TYPE_RESP ) ; if ( XST_SUCCESS != Status ) { XPsmFw_Printf ( DEBUG_ERROR , " \n " , __func__ ) ; goto done ; } done : return Status ; }
@brief       Sends IPI response to the target.
@brief Sends IPI response to the target .