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.

B4.3 Memory region attributes<br />

Protected Memory System <strong>Architecture</strong> (PMSA)<br />

Each memory region has an associated set of memory region attributes. These control accesses to the caches,<br />

how the write buffer is used, <strong>and</strong> whether the memory region is Shareable <strong>and</strong> therefore is guaranteed by<br />

hardware to be coherent. These attributes are encoded in the C, B, TEX[2:0] <strong>and</strong> S bits of the appropriate<br />

Region Access Control Register.<br />

Note<br />

The Bufferable (B), Cacheable (C), <strong>and</strong> Type Extension (TEX) bit names are inherited from earlier versions<br />

of the architecture. These names no longer adequately describe the function of the B, C, <strong>and</strong> TEX bits.<br />

B4.3.1 C, B, <strong>and</strong> TEX[2:0] encodings<br />

The TEX[2:0] field must be considered with the C <strong>and</strong> B bits to give a five bit encoding of the access<br />

attributes for an MPU memory region. Table B4-4 shows these encodings.<br />

For Normal memory regions, the S (Shareable) bit gives more information about whether the region is<br />

Shareable. A Shareable region can be shared by multiple processors. A Normal memory region is Shareable<br />

if the S bit for the region is set to 1. For other memory types, the value of the S bit is ignored.<br />

Table B4-4 C, B <strong>and</strong> TEX[2:0] encodings<br />

TEX[2:0] C B Description Memory type Shareable?<br />

000 0 0 Strongly-ordered. Strongly-ordered Shareable<br />

000 0 1 Shareable Device. Device Shareable<br />

000 1 0 Outer <strong>and</strong> Inner Write-Through, no Write-Allocate. Normal S bit a<br />

000 1 1 Outer <strong>and</strong> Inner Write-Back, no Write-Allocate. Normal S bit a<br />

001 0 0 Outer <strong>and</strong> Inner Non-cacheable. Normal S bit a<br />

001 0 1 Reserved. - -<br />

001 1 0 IMPLEMENTATION DEFINED. IMP. DEF. b IMP. DEF. b<br />

001 1 1 Outer <strong>and</strong> Inner Write-Back, Write-Allocate. Normal S bit a<br />

010 0 0 Non-shareable Device. Device Non-shareable<br />

010 0 1 Reserved. - -<br />

010 1 X Reserved. - -<br />

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

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

Saved successfully!

Ooh no, something went wrong!