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

Create successful ePaper yourself

Turn your PDF publications into a flip-book with our unique Google optimized e-Paper software.

System Control Coprocessor<br />

Attempts to write to this register in secure privileged mode when CP15SDISABLE is HIGH<br />

result in an Undefined Instruction exception, see Security Extensions write access disable on<br />

page 3-5.<br />

Table 3-117 shows the results of attempted access for each mode.<br />

To access the Memory Region Remap Registers read or write CP15 with:<br />

MRC p15, 0, , c10, c2, 0 ; Read Primary Region Remap Register<br />

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

MRC p15, 0, , c10, c2, 1 ; Read Normal Memory Remap Register<br />

MCR p15, 0, , c10, c2, 1 ; Write Normal Memory Remap Register<br />

Memory remap occurs in two stages:<br />

1. The processor uses the Primary Region Remap Register to remap the primary memory<br />

type, normal, device, or strongly ordered, and the shareable attribute.<br />

2. For memory regions that the Primary Region Remap Register defines as Normal memory,<br />

the processor uses the Normal Memory Remap Register to remap the inner and outer<br />

cacheable attributes.<br />

The behavior of the Memory Region Remap Registers depends on the TEX Remap bit, see c1,<br />

Control Register on page 3-44. If the TEX Remap bit is set to 1, the entries in the Memory<br />

Region Remap Registers remap each possible value of the TEX[0], C and B bits in the<br />

translation tables. You can therefore set your own definitions for these values. If the TEX<br />

Remap bit is cleared to 0, the Memory Region Remap Registers are not used and no memory<br />

remapping takes place. See MMU software-accessible registers on page 6-8 for more<br />

information.<br />

The Memory Region Remap Registers are expected to remain static during normal operation.<br />

When you write to the Memory Region Remap Registers, you must invalidate the TLB and<br />

perform an IMB operation before you can rely on the new written values. You must also stop<br />

the PLE if it is running.<br />

Note<br />

For security reasons, you cannot remap the NS bit.<br />

3.2.59 c11, PLE Identification and Status Registers<br />

Table 3-117 Results of access to the memory region remap registers a<br />

Secure privileged Nonsecure privileged Secure User Nonsecure User<br />

Read Write Read Write Read Write Read Write<br />

Secure<br />

data<br />

Secure<br />

data<br />

Nonsecure<br />

data<br />

Nonsecure<br />

data<br />

Undefined Undefined Undefined Undefined<br />

a. An entry of Undefined in the table means that the access gives an Undefined Instruction exception when the<br />

coprocessor instruction is executed.<br />

The purpose of the PLE Identification and Status Registers is to define:<br />

• the PLE channels that are physically implemented on the particular device<br />

• the current status of the PLE channels.<br />

Processes that handle PLE can read this register to determine the physical resources<br />

implemented and their availability.<br />

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

ID060510 Non-Confidential

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

Saved successfully!

Ooh no, something went wrong!