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.

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

To access the Instruction Set Attributes Register 4, read CP15 with:<br />

MRC p15, 0, , c0, c2, 4 ; Read Instruction Set Attributes Register 4<br />

3.2.20 c0, Instruction Set Attributes Registers 5-7<br />

3.2.21 c0, Cache Level ID Register<br />

Bits Field Function<br />

System Control Coprocessor<br />

Table 3-35 Instruction Set Attributes Register 4 bit functions (continued)<br />

[11:8] Write-back instructions Indicates support for write-back instructions:<br />

0x1 = The processor supports all defined write-back addressing modes.<br />

[7:4] With-shift instructions Indicates support for with-shift instructions.<br />

0x4 = The processor supports:<br />

• shifts of loads and stores over the range LSL 0-3<br />

• constant shift options<br />

• register-controlled shift options.<br />

[3:0] Unprivileged instructions Indicates support for Unprivileged instructions:<br />

0x2 = The processor supports LDR{SB|B|SH|H}T.<br />

Table 3-36 Results of access to Instruction Set Attributes Register 4 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.<br />

The purpose of the Instruction Set Attributes Registers 5-7 are reserved, and they read as<br />

0x00000000.<br />

The purpose of the Cache Level ID Register is to indicate the cache levels that are implemented.<br />

The register indicates the level of unification, LoU, and the level of coherency, LoC. For<br />

example, in the <strong>Cortex</strong><strong>A8</strong> processor, the point where both data and instruction are unified is the<br />

Level 2 cache, therefore, the LoU is 3'b001. The point where both data and instruction are<br />

coherent is the AMBA AXI interface, therefore, the LoC is 3'b010.<br />

The Cache Level ID Register is:<br />

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

• accessible in privileged modes only.<br />

Figure 3-16 on page 3-40 shows the bit arrangement of the Cache Level ID Register.<br />

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

ID060510 Non-Confidential

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

Saved successfully!

Ooh no, something went wrong!