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.

Application Level Memory Model<br />

a read of a location in memory is said to be observed by an observer when a subsequent write to the<br />

location by the same observer will have no effect on the value returned by the read<br />

a read of a location in memory is said to be globally observed for a shareability domain when a<br />

subsequent write to the location by any observer in that shareability domain will have no effect on<br />

the value returned by the read.<br />

Additionally, for Strongly-ordered memory:<br />

A read or write of a memory-mapped location in a peripheral that exhibits side-effects is said to be<br />

observed, <strong>and</strong> globally observed, only when the read or write:<br />

— meets the general conditions listed<br />

— can begin to affect the state of the memory-mapped peripheral<br />

— can trigger all associated side effects, whether they affect other peripheral devices, processors<br />

or memory.<br />

For all memory, the completion rules are defined as:<br />

A read or write is complete for a shareability domain when all of the following are true:<br />

— the read or write is globally observed for that shareability domain<br />

— any translation table walks associated with the read or write are complete for that shareability<br />

domain.<br />

A translation table walk is complete for a shareability domain when the memory accesses associated<br />

with the translation table walk are globally observed for that shareability domain, <strong>and</strong> the TLB is<br />

updated.<br />

A cache, branch predictor or TLB maintenance operation is complete for a shareability domain when<br />

the effects of operation are globally observed for that shareability domain <strong>and</strong> any translation table<br />

walks that arise from the operation are complete for that shareability domain.<br />

The completion of any cache, branch predictor <strong>and</strong> TLB maintenance operation includes its<br />

completion on all processors that are affected by both the operation <strong>and</strong> the DSB.<br />

Side effect completion in Strongly-ordered <strong>and</strong> Device memory<br />

The completion of a memory access in Strongly-ordered or Device memory is not guaranteed to be<br />

sufficient to determine that the side effects of the memory access are visible to all observers. The mechanism<br />

that ensures the visibility of side-effects of a memory accesses is IMPLEMENTATION DEFINED.<br />

A3-44 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!