09.12.2012 Views

Cortex-A8 Technical Reference Manual - ARM Information Center

Cortex-A8 Technical Reference Manual - ARM Information Center

Cortex-A8 Technical Reference Manual - ARM Information Center

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.

3.1.3 MMU control and configuration<br />

Security Extensions write access disable<br />

System Control Coprocessor<br />

The processor supports a primary input pin, CP15SDISABLE, to disable write access to the<br />

CP15 registers.<br />

When the CP15SDISABLE input is set to 1, any attempt to write to the secure version of the<br />

banked register, NS-bit is 0, or any non-banked register, NS-state is 0 results in an Undefined<br />

Instruction exception.<br />

Changes in the pin on an instruction boundary occur as quickly as practically possible after a<br />

change to this pin. Software must perform a IMB after a change to this pin has occurred on the<br />

boundary of the macros to ensure that its effects are recognized on following instructions.<br />

At reset, it is expected that this pin is set to logic 0 by the SoC hardware. Control of this pin is<br />

expected to remain within the SoC chip that implements the processor.<br />

Table 3-2 shows the CP15 registers affected by the primary input pin, CP15SDISABLE.<br />

The purpose of the MMU control and configuration registers is to:<br />

• allocate physical address locations from the Virtual Addresses (VAs) that the processor<br />

generates<br />

• control program access to memory<br />

• configure translation table memory type attributes<br />

• detect MMU faults and external aborts<br />

• translate and lock translation table walk entries<br />

• hold thread and process IDs.<br />

Table 3-2 CP15 registers affected by CP15SDISABLE<br />

Register Instruction<br />

Control Register MCR p15, 0, , c1, c0, 0<br />

Translation Table Base 0 MCR p15, 0, , c2, c0, 0<br />

Translation Table Control Register MCR p15, 0, , c2, c0, 2<br />

Domain Access Control MCR p15, 0, , c3, c0, 0<br />

Primary Region Remap MCR p15, 0, , c10, c2, 0<br />

Normal Memory Region Remap MCR p15, 0, , c10, c2, 1<br />

Vector Base MCR p15, 0, , c12, c0, 0<br />

Monitor Base MCR p15, 0, , c12, c0, 1<br />

FCSE MCR p15, 0, , c13, c0, 0<br />

Array operations MCR p15, 0, , c15, c0-15, 0-7<br />

MRC p15, 0, , c15, c0-15, 0-7<br />

<strong>ARM</strong> DDI 0344K Copyright © 2006-2010 <strong>ARM</strong> Limited. All rights reserved. 3-5<br />

ID060510 Non-Confidential

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

Saved successfully!

Ooh no, something went wrong!