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.

Bits Field Function<br />

[11:8] L1 Harvard cache line<br />

maintenance operations<br />

by set and way<br />

[7:4] L1 unified cache line<br />

maintenance operations<br />

by MVA<br />

[3:0] L1 Harvard cache line<br />

maintenance operations<br />

by MVA<br />

3.2.13 c0, Memory Model Feature Register 2<br />

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

To access the Memory Model Feature Register 1, read CP15 with:<br />

MRC p15, 0, , c0, c1, 5 ; Read Memory Model Feature Register 1<br />

System Control Coprocessor<br />

Table 3-21 Memory Model Feature Register 1 bit functions (continued)<br />

Indicates support for L1 cache line maintenance operations by set and way,<br />

Harvard architecture.<br />

0x0 = Processor supports:<br />

• clean data cache line by set and way<br />

• clean and invalidate data cache line by set and way<br />

• invalidate data cache line by set and way<br />

• invalidate instruction cache line by set and way.<br />

Indicates support for L1 cache line maintenance operations by MVA, unified<br />

architecture:<br />

0x0 = no support in processor.<br />

Indicates support for L1 cache line maintenance operations by MVA, Harvard<br />

architecture.<br />

0x0 = Processor supports:<br />

• clean data cache line by MVA<br />

• invalidate data cache line by MVA<br />

• invalidate instruction cache line by MVA<br />

• clean and invalidate data cache line by MVA<br />

• invalidation of branch target buffer by MVA.<br />

Table 3-22 Results of access to Memory Model Feature Register 1 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 Memory Model Feature Register 2 is to provide information about the<br />

memory model, memory management, cache support, and TLB operations of the processor.<br />

The Memory Model Feature Register 2 is:<br />

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

• accessible in privileged modes only.<br />

Figure 3-9 on page 3-30 shows the bit arrangement of the Memory Model Feature Register 2.<br />

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

ID060510 Non-Confidential

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

Saved successfully!

Ooh no, something went wrong!