05.02.2013 Views

ARM Architecture Reference Manual ARMv7-A and ARMv7-R edition

ARM Architecture Reference Manual ARMv7-A and ARMv7-R edition

ARM Architecture Reference Manual ARMv7-A and ARMv7-R edition

SHOW MORE
SHOW LESS

Create successful ePaper yourself

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

Protected Memory System <strong>Architecture</strong> (PMSA)<br />

LoUIS, bits [23:21]<br />

Level of Unification Inner Shareable for the cache hierarchy, see Clean, Invalidate, <strong>and</strong><br />

Clean <strong>and</strong> Invalidate on page B2-11. This field is RAZ in implementations that do not<br />

implement the Multiprocessing extension.<br />

CtypeX, bits [3(x - 1) + 2:3(x - 1)], for x = 1 to 7<br />

Cache type fields. Indicate the type of cache implemented at each level, from Level 1 up to<br />

a maximum of seven levels of cache hierarchy. The Level 1 cache type field, Ctype1, is bits<br />

[2:0], see register diagram. Table B4-15 shows the possible values for each CtypeX field.<br />

If you read the Cache type fields from Ctype1 upwards, once you have seen a value of<br />

0b000, no caches exist at further out levels of the hierarchy. So, for example, if Ctype3 is<br />

the first Cache type field with a value of 0b000, the values of Ctype4 to Ctype7 must be<br />

ignored.<br />

The CLIDR describes only the caches that are under the control of the processor.<br />

Accessing the CLIDR<br />

To access the CLIDR you read the CP15 registers with set to 1, set to c0, set to c0, <strong>and</strong><br />

set to 1. For example:<br />

MRC p15,1,,c0,c0,1 ; Read CP15 Cache Level ID Register<br />

Table B4-15 Ctype bit values<br />

CtypeX bits Meaning, cache implemented at this level<br />

000 No cache<br />

001 Instruction cache only<br />

010 Data cache only<br />

011 Separate instruction <strong>and</strong> data caches<br />

100 Unified cache<br />

101, 11X Reserved<br />

B4-42 Copyright © 1996-1998, 2000, 2004-2008 <strong>ARM</strong> Limited. All rights reserved. <strong>ARM</strong> DDI 0406B

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

Saved successfully!

Ooh no, something went wrong!