In order to get maximum performance from processors such as ARM710a and StrongARM SA-110 it is necessary to enable the cache. An application may have this done for it by, for example, the underlying microkernel on the system. However, if there is no such kernel an application will have to enable the caches itself.
There are two main cache systems used on ARM processors. These are:
- Memory Management Unit (for example ARM610, ARM710a, SA-110)
- Protection Unit (for example ARM940T)
This Application Note presents some sample code for enabling the cache on both types of
ARM processor, and an overview of the PageTables module from ARMulator.
It also discusses:
- repetitive assembly in armasm and tasm
- armasm and tasm conditional assembly
- macros in armasm and tasm
- inline assembler with the C compiler
- inline functions