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

You also want an ePaper? Increase the reach of your titles

YUMPU automatically turns print PDFs into web optimized ePapers that Google loves.

B4.6.13 c0, IMPLEMENTATION DEFINED Auxiliary ID Register (AIDR)<br />

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

The IMPLEMENTATION DEFINED Auxiliary ID Register, AIDR, provides implementation-specific ID<br />

information. The value of this register must be used in conjunction with the value of the MIDR.<br />

The IMPLEMENTATION DEFINED AIDR is:<br />

a 32-bit read-only register<br />

accessible only in privileged modes<br />

introduced in <strong>ARM</strong>v7.<br />

The format of the AIDR is IMPLEMENTATION DEFINED.<br />

Accessing the AIDR<br />

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

set to 7. For example:<br />

MRC p15,1,,c0,c0,7 ; Read IMPLEMENTATION DEFINED Auxiliary ID Register<br />

B4.6.14 c0, Cache Size Selection Register (CSSELR)<br />

The Cache Size Selection Register, CSSELR, selects the current CCSIDR. An <strong>ARM</strong>v7 implementation<br />

must include a CCSIDR for every implemented cache that is under the control of the processor. The<br />

CSSELR identifies which CCSIDR can be accessed, by specifying, for the required cache:<br />

the cache level<br />

the cache type, either:<br />

— instruction cache.<br />

— Data cache. The data cache argument is also used for a unified cache.<br />

CSSELR is:<br />

a 32-bit read/write register<br />

accessible only in privileged modes<br />

introduced in <strong>ARM</strong>v7.<br />

The format of the CSSELR is:<br />

31 4 3<br />

1<br />

Bits [31:4] UNK/SBZP.<br />

Level, bits [3:1]<br />

UNK/SBZP<br />

Cache level of required cache. Permitted values are from 0b000, indicating Level 1 cache,<br />

to 0b110 indicating Level 7 cache.<br />

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

Level<br />

InD<br />

0

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

Saved successfully!

Ooh no, something went wrong!