I have a character buffer which i want to place in Cache ,how to make sure that in memory map the compiler places this in DCache.
Compiler is RVCT 3.1
I have a character buffer which i want to place in Cache ,how to make sure that in memory map the compiler places this in DCache.
Compiler is RVCT 3.1
Hi,
I never heard of such feature in ARM. There is the PLD
instruction that is a hint for preloading some data.
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.