Hi all
I use DVRRDK4.1. In my code, I found a problem.
I add a Vps_printf statement at function System_ipcMsgQCreate() src_bios6/links_common/system/system_ipc_msgq.c , seems the three slave create messageQ queue success:
[c6xdsp ] MessageQ: DSP_MSGQ,9b9f7458,DSP_ACK_MSGQ,9b9f74f0
[m3video] MessageQ: VIDEO-M3_MSGQ,39220468,VIDEO-M3_ACK_MSGQ,39220500
[m3vpss ] MessageQ: VPSS-M3_MSGQ,3b0b4148,VPSS-M3_ACK_MSGQ,3b0b41e0
Then I add OSA_printf statement at function System_ipcMsgQCreate() , src_linux/links/system/system+ipc_msgq.c.
if(status == MessageQ_S_SUCCESS)
{
OSA_printf("MessageQ:procId(%d),%s,%d\n",procId,msgQName,gSystem_ipcObj.remoteProcMsgQ[procId]);
break;
}
[host] MessageQ: HOST_MSGQ,7807792,HOST_ACK_MSGQ,7807808
[host]MessageQ: procId(0)DSP_MSGQ,0
[host] MessageQ: procId(1)VIDEO-M3_MSGQ,65536
[host] MessageQ: procId(2)VPSS-M3_MSGQ,131072
why only the dsp queue's id equal 0