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

Where a change to the CP15 registers that is not yet guaranteed to be visible has an effect on exception<br />

processing, the following rule applies:<br />

When it is determined that an exception must be taken, any change of state held in CP15 registers<br />

involved in the triggering of the exception <strong>and</strong> that affects the processing of the exception is<br />

guaranteed to take effect before the exception is taken.<br />

Therefore, in the following example, where initially A=1 <strong>and</strong> V=0, the LDR might or might not take a Data<br />

Abort exception due to the unaligned access, but if an exception occurs the vector used is affected by the<br />

Vbit:<br />

MCR p15, R0, c1, c0, 0 ; clears the A bit <strong>and</strong> sets the V bit<br />

LDR R2, [R3] ; unaligned load.<br />

B3.12.5 Meaning of fixed bit values in register diagrams<br />

In register diagrams, fixed bits are indicated by one of following:<br />

0 In any implementation:<br />

the bit must read as 0<br />

writes to the bit must be ignored.<br />

Software:<br />

can rely on the bit reading as 0<br />

must use an SBZP policy to write to the bit.<br />

(0) In any implementation:<br />

the bit must read as 0<br />

writes to the bit must be ignored.<br />

Software:<br />

must not rely on the bit reading as 0<br />

must use an SBZP policy to write to the bit.<br />

1 In any implementation:<br />

the bit must read as 1<br />

writes to the bit must be ignored.<br />

Software:<br />

can rely on the bit reading as 1<br />

must use an SBOP policy to write to the bit.<br />

(1) In any implementation:<br />

the bit must read as 1<br />

writes to the bit must be ignored.<br />

Software:<br />

must not rely on the bit reading as 1<br />

must use an SBOP policy to write to the bit.<br />

Fields that are more than 1 bit wide are sometimes described as UNK/SBZP, instead of having each bit<br />

marked as (0).<br />

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