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.

Note<br />

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

In <strong>ARM</strong>v6, the SCTLR I, C, <strong>and</strong> W bits provide separate enables for the level 1 instruction cache (if<br />

implemented), the level 1 data or unified cache, <strong>and</strong> write buffering. For more information, see c1, System<br />

Control Register (SCTLR) on page AppxG-34.<br />

When a cache is disabled:<br />

it is IMPLEMENTATION DEFINED whether a cache hit occurs if a location that is held in the cache is<br />

accessed<br />

any location that is not held in the cache is not brought into the cache as a result of a memory access.<br />

The SCTLR.C <strong>and</strong> SCTLR.I bits describe the enabling of the caches, <strong>and</strong> do not affect the memory attributes<br />

generated by an enabled MMU or MPU.<br />

If the MMU or MPU is disabled, the effects of the SCTLR.C <strong>and</strong> SCTLR.I bits on the memory attributes<br />

are described in:<br />

Enabling <strong>and</strong> disabling the MMU on page B3-5 for the MMU<br />

Behavior when the MPU is disabled on page B4-5 for the MPU.<br />

B2.2.4 Cache maintenance functionality<br />

<strong>ARM</strong>v7 redefines the required CP15 cache maintenance operations. The two main features of this change<br />

are:<br />

improved support for multiple levels of cache, including abstracting how many levels of cache are<br />

implemented.<br />

reducing the architecturally-defined set of operations to the minimum set required for operating<br />

systems<br />

This section only describes cache maintenance for <strong>ARM</strong>v7. For details of cache maintenance in previous<br />

versions of the <strong>ARM</strong> architecture see:<br />

c7, Cache operations on page AppxG-38 for <strong>ARM</strong>v6<br />

c7, Cache operations on page AppxH-49 for the <strong>ARM</strong>v4 <strong>and</strong> <strong>ARM</strong>v5 architectures.<br />

Terms used in describing cache operations on page B2-10 describes the terms used in this section. Then the<br />

following subsections describe the <strong>ARM</strong>v7 cache maintenance functionality:<br />

<strong>ARM</strong>v7 cache maintenance operations on page B2-13<br />

The <strong>ARM</strong>v7 abstraction of the cache hierarchy on page B2-15.<br />

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

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

Saved successfully!

Ooh no, something went wrong!