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.

PROCESSOR-SDK-OMAPL138: 求Changing Cache Configuration During Run-Time(运行中改变cache的配置)相关应用代码

Part Number: PROCESSOR-SDK-OMAPL138

在文档《https://www.ti.com.cn/cn/lit/ug/sprug82a/sprug82a.pdf》的

2.7 Changing Cache Configuration During Run-Time

章节中,提到了运行中改变cache配置的方法,但是里面提供的是一个思路,实际拷贝出来是无法编译的。

请有实现过的专家,给个能编译执行的参考例子,万分感谢!!

主要问题点是:

1、代码运行中获得函数地址、函数长度

2、运行中获得段如.external的地址、段长度

3、DAT_xxx相关函数的实现

笨办法:编译后获得1、2的相关数据,在程序中写数组记录,再重新编译

有聪明的方法吗?

x 出现错误。请重试或与管理员联系。