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.

Virtual Memory System <strong>Architecture</strong> (VMSA)<br />

B3.12.29 CP15 c6, Fault Address registers<br />

There are two Fault Address registers, in CP15 c6, as shown in Figure B3-15 on page B3-120s. The two<br />

Fault Address registers complement the Fault Status registers, <strong>and</strong> are shown in Table B3-31.<br />

Register name Description<br />

Data Fault Address Register (DFAR) c6, Data Fault Address Register (DFAR)<br />

Note<br />

Before <strong>ARM</strong>v7:<br />

The DFAR was called the Fault Address Register (FAR).<br />

The Watchpoint Fault Address Register (DBGWFAR) was implemented in CP15 c6, with =1.<br />

From <strong>ARM</strong>v7, the DBGWFAR is only implemented as a CP14 debug register, see Watchpoint Fault<br />

Address Register (DBGWFAR) on page C10-28.<br />

Fault information is returned using the fault address registers <strong>and</strong> the fault status registers described in CP15<br />

c5, Fault status registers on page B3-121. For details of how these registers are used, <strong>and</strong> when the value in<br />

the IFAR is valid, see Fault Status <strong>and</strong> Fault Address registers in a VMSA implementation on page B3-48.<br />

c6, Data Fault Address Register (DFAR)<br />

The Data Fault Address Register, DFAR, holds the MVA of the faulting address that caused a synchronous<br />

Data Abort exception.<br />

The DFAR is:<br />

a 32-bit read/write register<br />

accessible only in privileged modes<br />

when the Security Extensions are implemented, a Banked register.<br />

The format of the DFAR is:<br />

For information about using the DFAR, <strong>and</strong> when the value in the DFAR is valid, see Fault Status <strong>and</strong> Fault<br />

Address registers in a VMSA implementation on page B3-48.<br />

A debugger can write to the DFAR to restore its value.<br />

Table B3-31 Fault Address registers<br />

Instruction Fault Address Register (IFAR) c6, Instruction Fault Address Register (IFAR) on page B3-125<br />

31 0<br />

MVA of faulting address of synchronous Data Abort exception<br />

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