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.

<strong>ARM</strong>v4 <strong>and</strong> <strong>ARM</strong>v5 Differences<br />

If the system implements any data or unified caches that can be accessed by the processor<br />

then it must be possible to disable them by setting this bit to 0.<br />

A, bit [1] Alignment bit. This is the enable bit for Alignment fault checking:<br />

0 Alignment fault checking disabled<br />

1 Alignment fault checking enabled.<br />

For more information, see Alignment on page AppxH-6.<br />

M, bit [0] Memory control bit. This is a global enable bit to enable an MMU where VMSA is<br />

supported, or an MPU where PMSA is supported:<br />

0 memory management (MMU or MPU) disabled<br />

1 memory management (MMU or MPU) enabled.<br />

H.7.5 c2 <strong>and</strong> c3, VMSA memory protection <strong>and</strong> control registers<br />

<strong>ARM</strong>v4 <strong>and</strong> <strong>ARM</strong>v5 support a single Translation Table Base Register (TTBR) that is compatible with<br />

TTBR0, <strong>and</strong> the Domain Access Control Register (DACR).<br />

The TTBR is as defined for TTBR0 in CP15 c2, Translation table support registers on page B3-113 except<br />

that:<br />

The base address bitfield is a fixed-length field, bits [31:14] (N=0)<br />

Bit [5] is reserved.<br />

The DACR is as defined in c3, Domain Access Control Register (DACR) on page B3-119.<br />

H.7.6 c5 <strong>and</strong> c6, VMSA memory system support<br />

<strong>ARM</strong>v4 <strong>and</strong> <strong>ARM</strong>v5 support a Fault Status Register (FSR) <strong>and</strong> a Fault Address Register (FAR). These<br />

registers are accessed using MCR <strong>and</strong> MRC instructions. Table H-17 summarizes them.<br />

Table H-17 VMSA fault support<br />

Register CRn opc1 CRm opc2<br />

Fault Status Register, FSR c5 0 c0 0<br />

Fault Address Register, FAR c6 0 c0 0<br />

The FSR is updated on Prefetch Abort exceptions <strong>and</strong> Data Abort exceptions. The FAR is only updated with<br />

the MVA on Data Abort exceptions.<br />

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

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

Saved successfully!

Ooh no, something went wrong!