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 />

Any implementation of hardware management of the access flag must ensure that any software changes to<br />

the translation table are not lost. The architecture does not require software that performs translation table<br />

changes to use interlocked operations. The hardware management mechanisms for the access flag must<br />

prevent any loss of data written to translation table entries that might occur when, for example, a write by<br />

another processor occurs between the read <strong>and</strong> write phases of a translation table walk that updates the<br />

access flag.<br />

An implementation that provides hardware management of the access flag:<br />

does not generate Access Flag faults when the access flag is enabled<br />

uses the HW access flag field, ID_MMFR2[31:28], to indicate this implementation choice, see c0,<br />

Memory Model Feature Register 2 (ID_MMFR2) on page B5-14.<br />

Architecturally, an operating system that makes use of the access flag must support the software faulting<br />

option that uses the Access Flag fault. This provides compatibility between systems that include a hardware<br />

implementation of the access flag <strong>and</strong> those systems that do not implement this feature.<br />

When an implementation provides hardware management of the access flag it must also implement the<br />

SCTLR.HA bit, that can be used to enable or disable the access flag mechanism. See c1, System Control<br />

Register (SCTLR) on page B3-96.<br />

Changing the access flag enable<br />

It is UNPREDICTABLE whether the TLB caches the effect of the SCTLR.AFE bit on translation tables. This<br />

means that, after changing the SCTLR.AFE bit software must invalidate the TLB before it relies on the<br />

effect of the new value of the SCTLR.AFE bit.<br />

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