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.

Virtual Memory System <strong>Architecture</strong> (VMSA)<br />

Cacheable memory attributes<br />

When TEX[2] == 1, the translation table entry describes Cacheable memory, <strong>and</strong> the rest of the encoding<br />

defines the Inner <strong>and</strong> Outer cache attributes:<br />

TEX[1:0] defines the Outer cache attribute<br />

C,B defines the Inner cache attribute<br />

The same encoding is used for the Outer <strong>and</strong> Inner cache attributes. Table B3-8 shows the encoding.<br />

B3.7.3 Memory region attribute descriptions when TEX remap is enabled<br />

The VMSAv6 scheme for describing the memory region attributes, described in C, B, <strong>and</strong> TEX[2:0]<br />

encodings without TEX remap on page B3-33, uses the TEX[2:0], C <strong>and</strong> B bits to describe all of the options<br />

for Inner <strong>and</strong> Outer cacheability. However, many system software implementations do not need to use all of<br />

these options simultaneously. Instead a smaller subset of attributes can be enabled. This alternative<br />

functionality is called TEX remap, <strong>and</strong> permits software to hold software-interpreted values in the<br />

translation tables. When TEX remap is enabled:<br />

only the TEX[0], C <strong>and</strong> B bits are used to describe the memory region attributes<br />

fewer attribute options are available at any time<br />

the available options are configurable using the PRRR <strong>and</strong> NMRR registers<br />

TEX[2:1] are not updated by hardware, see The OS managed translation table bits on page B3-38.<br />

When TEX remap is enabled:<br />

Table B3-8 Inner <strong>and</strong> Outer cache attribute encoding<br />

Encoding Cache attribute<br />

0 0 Non-cacheable<br />

0 1 Write-Back, Write-Allocate<br />

1 0 Write-Through, no Write-Allocate<br />

1 1 Write-Back, no Write-Allocate<br />

For seven of the eight possible combinations of the TEX[0], C <strong>and</strong> B bits:<br />

— a field in the PRRR defines the corresponding memory region as being Normal, Device or<br />

Strongly-ordered memory<br />

— a field in the NMRR defines the Inner cache attributes that apply if the PRRR field identifies<br />

the region as Normal memory<br />

— a second field in the NMRR defines the Outer cache attributes that apply if the PRRR field<br />

identifies the region as Normal memory.<br />

The meaning of the eighth combination for the TEX[0], C <strong>and</strong> B bits is IMPLEMENTATION DEFINED<br />

B3-34 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!