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

B3.9 Fault Status <strong>and</strong> Fault Address registers in a VMSA implementation<br />

This section describes the Fault Status <strong>and</strong> Fault Address registers, <strong>and</strong> how they report information about<br />

VMSA aborts. It contains the following subsections:<br />

About the Fault Status <strong>and</strong> Fault Address registers<br />

Data Abort exceptions on page B3-49<br />

Prefetch Abort exceptions on page B3-49<br />

Fault Status Register encodings for the VMSA on page B3-50<br />

Distinguishing read <strong>and</strong> write accesses on Data Abort exceptions on page B3-52<br />

Provision for classification of external aborts on page B3-52<br />

The Domain field in the DFSR on page B3-52<br />

Auxiliary Fault Status Registers on page B3-53.<br />

Also, these registers are used to report information about debug exceptions. For details see Effects of debug<br />

exceptions on CP15 registers <strong>and</strong> the DBGWFAR on page C4-4.<br />

B3.9.1 About the Fault Status <strong>and</strong> Fault Address registers<br />

VMSAv7 provides four registers for reporting fault address <strong>and</strong> status information:<br />

The Data Fault Status Register, see c5, Data Fault Status Register (DFSR) on page B3-121. The<br />

DFSR is updated on taking a Data Abort exception.<br />

The Instruction Fault Status Register, see c5, Instruction Fault Status Register (IFSR) on<br />

page B3-122. The IFSR is updated on taking a Prefetch Abort exception.<br />

The Data Fault Address Register, see c6, Data Fault Address Register (DFAR) on page B3-124. In<br />

some cases, on taking a synchronous Data Abort exception the DFAR is updated with the faulting<br />

address. See Terminology for describing exceptions on page B1-4 for a description of synchronous<br />

exceptions.<br />

The Instruction Fault Address Register, see c6, Instruction Fault Address Register (IFAR) on<br />

page B3-125. The IFAR is updated with the faulting address on taking a Prefetch Abort exception.<br />

In addition, the architecture provides encodings for two IMPLEMENTATION DEFINED Auxiliary Fault Status<br />

Registers, see Auxiliary Fault Status Registers on page B3-53.<br />

Note<br />

On a Data Abort exception that is generated by an instruction cache maintenance operation, the IFSR<br />

is also updated.<br />

Before <strong>ARM</strong>v7, the Data Fault Address Register (DFAR) was called the Fault Address Register<br />

(FAR).<br />

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