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.

有关cmem的API问题

请问CMEM_cachewb()和CMEM_cachewbInv()的区别,请问cachewbInv后就可以读到更新后的数据了吗

  • CMEM打头的函数是在哪看到的呢,我只看到有CSL相关的函数。

    执行完两个函数后都可以读到更新的数据,cachewb是将cache中的数据回写到实际的memory;cachewbInv是在回写之后还会对cache invalid。

  • 是在合众达开发的代码中看见的,可能是他们封装的库。再请问一下,从你描述的功能上感觉这两个函数基本没有区别呢,而cachewbInv这个函数在回写以后还对cache invalid会有区别于wb的什么意义吗