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

You also want an ePaper? Increase the reach of your titles

YUMPU automatically turns print PDFs into web optimized ePapers that Google loves.

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

SCTLR.TRE, SCTLR.M, <strong>and</strong> the effect of the MMU remap registers<br />

When TEX remap is disabled, because the SCTLR.TRE bit is set to 0:<br />

the effect of the MMU remap registers can be IMPLEMENTATION DEFINED<br />

the interpretation of the fields of the PRRR <strong>and</strong> NMRR registers can differ from the description given<br />

in this section.<br />

VMSAv7 requires that the effect of these registers is limited to remapping the attributes of memory<br />

locations. These registers must not change whether any cache or MMU hardware is enabled. The<br />

mechanism by which the MMU remap registers have an effect when the SCTLR.TRE bit is set to 0 is<br />

IMPLEMENTATION DEFINED. The <strong>ARM</strong>v7 architecture requires that from reset, if the IMPLEMENTATION<br />

DEFINED mechanism has not been invoked:<br />

If the MMU is enabled, the architecturally-defined behavior of the TEX[2:0], C, <strong>and</strong> B bits must<br />

apply, without reference to the TEX remap functionality. In other words, memory attribute<br />

assignment must comply with the scheme described in C, B, <strong>and</strong> TEX[2:0] encodings without TEX<br />

remap on page B3-33.<br />

If the MMU is disabled, then the architecturally-defined behavior of the VMSA with the MMU<br />

disabled must apply, without reference to the TEX remap functionality. See Enabling <strong>and</strong> disabling<br />

the MMU on page B3-5.<br />

Typical mechanisms for enabling the IMPLEMENTATION DEFINED effect of the TEX Remap registers when<br />

SCTLR.TRE bit is set to 0 include:<br />

a control bit in the ACTLR, or in a CP15 c15 register<br />

changing the behavior when the PRRR <strong>and</strong> NMRR registers are changed from their<br />

IMPLEMENTATION DEFINED reset values.<br />

In addition, if the MMU is disabled <strong>and</strong> the SCTLR.TRE bit is set to 1, the architecturally-defined behavior<br />

of the VMSA with the MMU disabled must apply without reference to the TEX remap functionality.<br />

When the Security Extensions are implemented, the IMPLEMENTATION DEFINED effect of these registers<br />

must only take effect in the security domain of the registers.<br />

The OS managed translation table bits<br />

When TEX remap is enabled, the TEX[2:1] bits in the translation table descriptors are available as two flags<br />

that can be managed by the operating system. In VMSAv7, as long as the SCTLR.TRE bit is set to 1, the<br />

values of the TEX[2:1] bits are ignored by the memory management hardware. You can write any value to<br />

these bits in the translation tables. In a system that implements access flag updates in hardware, a hardware<br />

access flag update never changes these bits.<br />

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