开发者

How to make sure a buffer is stored in cache on arm 9

I have a character buffer which i want to place in Cache ,how to make sure that in memory map the compiler place开发者_开发百科s this in DCache.

Compiler is RVCT 3.1


This is called "cache lockdown", and is supported by most (if not all) ARM9 processors, depending on the cache architecture. Here is a useful page from the ARM920T reference manual, including some example code. You should be able to find information for your specific processor in the table of contents on that page.


I never heard of such feature in ARM. There is the PLD instruction that is a hint for preloading some data.

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜