This thread has been locked.

If you have a related question, please click the "Ask a related question" button in the top right corner. The newly created question will be automatically linked to this question.

TMS320C6678: 使用ipc的shareregion作为heap的冲突问题

Part Number: TMS320C6678
Other Parts Discussed in Thread: SYSBIOS

多核6678使用同一个sysbios工程,在cfg文件里配置ddr3的0x80000000长度为32MB作为shareregion,通过setentrymeta配置createheap为true,bios.heapsize配置为16MB,32MB的其余空间作为messageq,notify,gatemp等多核数据通信。

问题 1 多核使用同一块共享内存作为heap,当使用malloc free等函数,怎么能避免冲突?

问题 2 在cfg文件里怎么能配置mpxh,mpxl等进行物理地址和虚拟地址的映射