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.

3.2.7 c0, Processor Feature Register 0<br />

3.2.8 c0, Processor Feature Register 1<br />

System Control Coprocessor<br />

The purpose of Processor Feature Register 0 is to provide information about the execution state<br />

support and programmer’s model for the processor.<br />

The Processor Feature Register 0 is:<br />

• a read-only register common to the Secure and Nonsecure states<br />

• accessible in privileged modes only.<br />

Figure 3-4 shows the bit arrangement of the Processor Feature Register 0.<br />

31 16 15 12 11 8 7 4 3 0<br />

Reserved<br />

Figure 3-4 Processor Feature Register 0 format<br />

Table 3-12 shows how the bit values correspond with the Processor Feature Register 0<br />

functions.<br />

Bits Field Function<br />

[31:16] - Reserved, RAZ.<br />

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

To access the Processor Feature Register 0, read CP15 with:<br />

MRC p15, 0, , c0, c1, 0 ; Read Processor Feature Register 0<br />

The purpose of Processor Feature Register 1 is to provide information about the execution state<br />

support and programmer’s model for the processor.<br />

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

ID060510 Non-Confidential<br />

State3<br />

State2 State1 State0<br />

Table 3-12 Processor Feature Register 0 bit functions<br />

[15:12] State3 Indicates support for Thumb Execution Environment (ThumbEE):<br />

0x1 = Processor supports ThumbEE.<br />

[11:8] State2 Indicates support for Jazelle extension interface:<br />

0x1 = Jazelle extension supported.<br />

[7:4] State1 Indicates the type of Thumb encoding that the processor supports:<br />

0x3 = Processor supports Thumb-2 encoding with all Thumb-2 instructions.<br />

[3:0] State0 Indicates support for <strong>ARM</strong> instruction set:<br />

0x1 = Processor supports <strong>ARM</strong> instructions.<br />

Table 3-13 Results of access to the Processor Feature Register 0 a<br />

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

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

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

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

instruction is executed.

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

Saved successfully!

Ooh no, something went wrong!