src/idc/idc.c
/**
 * \brief Retrieves IDC command status after sending message.
 * \param[in] core Id of the core for this status.
 * \return Last IDC message status.
 */
\brief Retrieves IDC command status after sending message.
\param[in] core Id of the core for this status.
\return Last IDC message status.
\ brief Retrieves IDC command status after sending message . \ param [ in ] core Id of the core for this status . \ return Last IDC message status .
int idc_msg_status_get(uint32_t core)
{
	struct idc *idc = *idc_get();
	struct idc_payload *payload = idc_payload_get(idc, core);
	int status;
	status = *(uint32_t *)payload->data;
	platform_shared_commit(payload, sizeof(*payload));
	return status;
}
int idc_msg_status_get ( uint32_t core ) { struct idc * idc = * idc_get ( ) ; struct idc_payload * payload = idc_payload_get ( idc , core ) ; int status ; status = * ( uint32_t * ) payload -> data ; platform_shared_commit ( payload , sizeof ( * payload ) ) ; return status ; }
\brief Retrieves IDC command status after sending message.
\ brief Retrieves IDC command status after sending message .