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函数使用时遇到一些问题



1、论坛中的帖子提到了设置L2或者L1D的高速缓存状态时,可以通过

    CACHE_setL1DSize(CACHE_L1_32KCACHE);

    CACHE_setL2Size(CACHE_0KCACHE);

    这样的操作实现。

    但是我在使用的时候,CCS5提示了以下的两个错误;

   (1)warning #78-D: this declaration has no storage class or type specifier

   (2)error #93: identifier-list parameters may only be used in a function definition

2、使用 CACHE_wbInvL1d()函数时,参数使用 CACHE_WAIT .但是为什么提示 CACHE_WAIT 没有定义这个错误呢?