05.02.2013 Views

ARM Architecture Reference Manual ARMv7-A and ARMv7-R edition

ARM Architecture Reference Manual ARMv7-A and ARMv7-R edition

ARM Architecture Reference Manual ARMv7-A and ARMv7-R edition

SHOW MORE
SHOW LESS

Create successful ePaper yourself

Turn your PDF publications into a flip-book with our unique Google optimized e-Paper software.

B2.2 Caches<br />

Common Memory System <strong>Architecture</strong> Features<br />

The concept of caches is described in Caches <strong>and</strong> memory hierarchy on page A3-51. This section describes<br />

the cache identification <strong>and</strong> control mechanisms in <strong>ARM</strong>v7. These are described in the following sections:<br />

Cache identification<br />

Cache behavior on page B2-5<br />

Cache enabling <strong>and</strong> disabling on page B2-8<br />

Cache maintenance functionality on page B2-9<br />

The interaction of cache lockdown with cache maintenance on page B2-18<br />

Branch predictors on page B2-19<br />

Ordering of cache <strong>and</strong> branch predictor maintenance operations on page B2-21<br />

Multiprocessor effects on cache maintenance operations on page B2-23<br />

System-level caches on page B2-26.<br />

Note<br />

The cache identification <strong>and</strong> control mechanisms for previous versions of the <strong>ARM</strong> architecture are<br />

described in:<br />

Cache support on page AppxG-21, for <strong>ARM</strong>v6<br />

Cache support on page AppxH-21, for the <strong>ARM</strong>v4 <strong>and</strong> <strong>ARM</strong>v5 architectures.<br />

B2.2.1 Cache identification<br />

The <strong>ARM</strong>v7 cache identification consists of a set of registers that describe the implemented caches that are<br />

under the control of the processor:<br />

A single Cache Type Register defines:<br />

— the minimum line length of any of the instruction caches<br />

— the minimum line length of any of the data or unified caches<br />

— the cache indexing <strong>and</strong> tagging policy of the Level 1 instruction cache.<br />

For more information, see:<br />

— c0, Cache Type Register (CTR) on page B3-83, for a VMSA implementation<br />

— c0, Cache Type Register (CTR) on page B4-34, for a PMSA implementation.<br />

A single Cache Level ID Register defines:<br />

— the type of cache implemented at a each cache level, up to the maximum of seven levels<br />

— the Level of Coherence for the caches<br />

— the Level of Unification for the caches.<br />

For more information, see:<br />

— c0, Cache Level ID Register (CLIDR) on page B3-92, for a VMSA implementation<br />

— c0, Cache Level ID Register (CLIDR) on page B4-41, for a PMSA implementation.<br />

<strong>ARM</strong> DDI 0406B Copyright © 1996-1998, 2000, 2004-2008 <strong>ARM</strong> Limited. All rights reserved. B2-3

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!