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.

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

Terms used in describing cache operations<br />

This section describes particular terms used in the descriptions of cache maintenance operations.<br />

Cache maintenance operations are defined to act on particular memory locations. Operations can be defined:<br />

by the address of the memory location to be maintained, referred to as by MVA<br />

by a mechanism that describes the location in the hardware of the cache, referred to as by set/way.<br />

In addition, the instruction cache invalidate operation has an option that invalidates all entries in the<br />

instruction caches.<br />

The following subsections define the terms used to describe the cache operations:<br />

Operations by MVA<br />

Operations by set/way<br />

Clean, Invalidate, <strong>and</strong> Clean <strong>and</strong> Invalidate on page B2-11.<br />

Operations by MVA<br />

For cache operations by MVA, these terms relate to memory addressing, <strong>and</strong> in particular the relation<br />

between:<br />

Modified Virtual Address (MVA)<br />

Virtual Address (VA)<br />

Physical Address (PA).<br />

The term Modified Virtual Address relates to the Fast Context Switch Extension (FCSE) mechanism,<br />

described in Appendix E Fast Context Switch Extension (FCSE). Use of the FCSE is deprecated in <strong>ARM</strong>v6<br />

<strong>and</strong> the FCSE is optional in <strong>ARM</strong>v7. When the FCSE is absent or disabled, the MVA <strong>and</strong> VA have the same<br />

value. However the term MVA is used throughout this section, <strong>and</strong> elsewhere in this manual, for cache <strong>and</strong><br />

TLB operations. This is consistent with previous issues of the <strong>ARM</strong> <strong>Architecture</strong> <strong>Reference</strong> <strong>Manual</strong>.<br />

Virtual addresses only exist in systems with a MMU. When no MMU is implemented or the MMU is<br />

disabled, the MVA <strong>and</strong> VA are identical to the PA.<br />

In the cache operations, any operation described as operating by MVA includes as part of any required MVA<br />

to PA translation:<br />

the current system Application Space IDentifier (ASID)<br />

the current security state, if the Security Extensions are implemented.<br />

Operations by set/way<br />

Cache maintenance operations by set/way refer to the particular structures in a cache. Three parameters<br />

describe the location in a cache hierarchy that an operation works on. These parameters are:<br />

Level The cache level of the hierarchy. The number of levels of cache is IMPLEMENTATION<br />

DEFINED, <strong>and</strong> can be determined from the Cache Level ID Register, 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 />

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

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

Saved successfully!

Ooh no, something went wrong!