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

Table 3-121 shows how the bit values correspond with the PLE User Accessibility Register<br />

functions.<br />

Bits Field Function<br />

[31:2] - Reserved. UNP, SBZP.<br />

Table 3-121 PLE User Accessibility Register bit functions<br />

[1] U1 Indicates if a User mode process can access the registers for channel 1:<br />

0 = User mode cannot access channel 1, reset value. User mode accesses cause an Undefined<br />

Instruction exception.<br />

1 = User mode can access channel 1.<br />

[0] U0 Indicates if a User mode process can access the registers for channel 0:<br />

0 = User mode cannot access channel 0, reset value. User mode accesses cause an Undefined<br />

Instruction exception.<br />

1 = User mode can access channel 0.<br />

PLE<br />

bit<br />

Access in the Nonsecure state depends on the PLE bit, see c1, Nonsecure Access Control<br />

Register on page 3-56. The processor can only access this register in privileged modes.<br />

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

Table 3-122 Results of access to the PLE User Accessibility Register a<br />

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

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

0 Data Data Undefined Undefined Undefined Undefined Undefined Undefined<br />

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

To access the PLE User Accessibility Register, read or write CP15 with:<br />

MRC p15, 0, , c11, c1, 0 ; Read PLE User Accessibility Register<br />

MCR p15, 0, , c11, c1, 0 ; Write PLE User Accessibility Register<br />

The registers that you can access in User mode when the U1 or U0 bit = 1 for the current channel<br />

are:<br />

• c11, PLE enable commands on page 3-109<br />

• c11, PLE Control Register on page 3-109<br />

• c11, PLE Internal Start Address Register on page 3-112<br />

• c11, PLE Internal End Address Register on page 3-113<br />

• c11, PLE Channel Status Register on page 3-114.<br />

You can access the PLE Channel Number Register, see c11, PLE Channel Number Register on<br />

page 3-108, in User mode when the U1 or U0 bit for any channel is 1.<br />

The contents of these registers must be preserved on a task switch if the registers are user<br />

accessible.<br />

If the U bit for the currently selected channel is set to 0, and a User mode process attempts to<br />

access any of these registers, the processor takes an Undefined instruction trap.<br />

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

ID060510 Non-Confidential

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

Saved successfully!

Ooh no, something went wrong!