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.

Reserved encodings in the IFSR <strong>and</strong> DFSR encodings tables<br />

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

A single encoding is reserved for cache lockdown faults. The details of these faults <strong>and</strong> any associated<br />

subsidiary registers are IMPLEMENTATION DEFINED.<br />

A single encoding is reserved for aborts associated with coprocessors. The details of these faults are<br />

IMPLEMENTATION DEFINED.<br />

B4.5.5 Distinguishing read <strong>and</strong> write accesses on Data Abort exceptions<br />

On a Data Abort exception, the DFSR.WnR bit, bit [11] of the register, indicates whether the abort occurred<br />

on a read access or on a write access. However, for a fault on a CP15 cache maintenance operation this bit<br />

always indicates a write access fault.<br />

For a fault generated by a SWP or SWPB instruction, the WnR bit is 0 if a read to the location would have<br />

generated a fault, otherwise it is 1.<br />

B4.5.6 Provision for classification of external aborts<br />

An implementation can use the DFSR.ExT <strong>and</strong> IFSR.ExT bits to provide more information about external<br />

aborts:<br />

DFSR.ExT can provide an IMPLEMENTATION DEFINED classification of external aborts on data<br />

accesses<br />

IFSR.ExT can provide an IMPLEMENTATION DEFINED classification of external aborts on instruction<br />

accesses<br />

For all aborts other than external aborts these bits return a value of 0.<br />

B4.5.7 Auxiliary Fault Status Registers<br />

<strong>ARM</strong>v7 architects two Auxiliary Fault Status Registers:<br />

the Auxiliary Data Fault Status Register (ADFSR)<br />

the Auxiliary Instruction Fault Status Register (AIFSR).<br />

These registers enable additional fault status information to be returned:<br />

The position of these registers is architecturally-defined, but the content <strong>and</strong> use of the registers is<br />

IMPLEMENTATION DEFINED.<br />

An implementation that does not need to report additional fault information must implement these<br />

registers as UNK/SBZ. This ensures that a privileged attempt to access these registers is not faulted.<br />

An example use of these registers would be to return more information for diagnosing parity errors.<br />

See c5, Auxiliary Data <strong>and</strong> Instruction Fault Status Registers (ADFSR <strong>and</strong> AIFSR) on page B4-56 for the<br />

architectural details of these registers.<br />

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

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

Saved successfully!

Ooh no, something went wrong!