/* This function is used to create the MsgQ.  */
OsiReturnVal_e osi_MsgQCreate(OsiMsgQ_t *pMsgQ, char *pMsgQName, unsigned long MsgSize, unsigned long MaxMsgs)
/* This function is used to create the MsgQ.  */
OsiReturnVal_e osi_MsgQCreate(OsiMsgQ_t *pMsgQ, char *pMsgQName, unsigned long MsgSize, unsigned long MaxMsgs)
{
	QueueHandle_t handle;
	handle = xQueueCreate( MaxMsgs, MsgSize );
	ASSERT (handle != NULL);
	*pMsgQ = (OsiMsgQ_t)handle;
	return OSI_OK;
}