diff -r 89d6a7a84779 -r 25a17d01db0c Symbian3/PDK/Source/GUID-96F07979-3863-5198-AF8B-4ACC1193CF3E.dita --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/Symbian3/PDK/Source/GUID-96F07979-3863-5198-AF8B-4ACC1193CF3E.dita Fri Jan 22 18:26:19 2010 +0000 @@ -0,0 +1,30 @@ + + + + + +Level +2 Cache TutorialThis topic describes how to configure the base port to use the +ARM L210 cache or L220 cache controllers in ARM processors. +

Cache is a fast buffer that keeps copies of recently accessed memory.

+
L210 Cache

In the variant.mmh file, +set the macro:

__ARM_L210_CACHE__

You +must also set a L210 Cache macro and initialise Level 2 cache in the Bootstrap. +See Level 2 Cache Macros and HardwareInitialise().

The +L210 cache is switched on by generic Symbian OS code before jumping into the +kernel code. The cache is switched on after the MMU and L1 cache are enabled.

+
L220 Cache

In the variant.mmh file, +set the macro:

__ARM_L220_CACHE__

You +must also set a L220 Cache macro and initialise Level 2 cache in the Bootstrap. +See Level 2 Cache Macros and HardwareInitialise().

Code +to switch on the L220 cache on must be provided by the base port. You can +do this in the HardwareInitialise() function +or the BTF_Final() function +in the Bootstrap.

+
\ No newline at end of file