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.

共享内存问题



裸机下使用共享内存进行核间通信的例程有没有?假如核0直接往0x0c00000地址写入数据,其他核也可读到,还是说有特别的操作?

备注:使用的6674,自己做的板子。

  • 如果数据不是很大,更建议直接使用LL2SRAM,其cache一致性由硬件自动维护,不过需要注意其他核访问别人的L2需要使用全局地址;
    使用MSMC或其他内存的共享内存方式需要考虑cache一致性;建议先熟悉下Cache。