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.

cache_inv(),cache_wb()如何实现在裸机环境下

Other Parts Discussed in Thread: SYSBIOS

Hello 您好,


在sysbios里面有cache一致性函数,cache_inv(),cache_wb().

目前我想在裸机下跑DSP算法程序,用EDMA,需要用到这两个函数。

裸机下得自己写这两个cache驱动函数。

具体的cache_inv()操作,是由L1D,L2控制寄存器来完成,还是由L1D和L2共同来完成。

假设,需要cache invalidate的buffer在DDR3。


cache_wb()操作对应操作应该和cache_inv()相同。

也就是说,想知道,cache_wb(),chace_inv()在裸机下如何实现?

非常感谢!

BRS,
Meng