Other Parts Discussed in Thread: SYSBIOS
Hi,
I am using ListMP to pass data between ARM and DSP in 8148. But the data is not synced always.
Both ARM and DSP are using gate to protect the List
// get the gate for the ListMP instance
gate = ListMP_getGate(ghandleListMP);
// Begin protection against modification of the ListMP.
key = GateMP_enter(gate);
while ((elem = ListMP_next(ghandleListMP, elem)) != NULL)
{
pListMPNode = (GRG_RINGIO_LISTMP_NODE *)elem;
if(pListMPNode->u32GrgSessionId == u32GrgSessionId)
{
if(pListMPNode->eRingIODirection == eRingIODirection)
{
System_printf ( "Index = %x", pListMPNode->u32Index);
break;
}
}
}
// End protection against modification of the ListMP.
GateMP_leave(gate, key);
The data is correct in few nodes but not in all nodes
Can anybody help me on this?
Thanks
Jibin