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.

The CPUID Identification Scheme<br />

Accessing the ID_DFR0<br />

To access the ID_DFR0 you read the CP15 registers with set to 0, set to c0, set to c1, <strong>and</strong><br />

set to 2. For example:<br />

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

B5.2.3 c0, Auxiliary Feature Register 0 (ID_AFR0)<br />

The Auxiliary Feature Register 0, ID_AFR0, provides information about the IMPLEMENTATION DEFINED<br />

features of the processor.<br />

The format of the ID_AFR0 is:<br />

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

Reserved, RAZ<br />

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

IMPLEMENTATION DEFINED, bits [15:12]<br />

IMPLEMENTATION DEFINED, bits [11:8]<br />

IMPLEMENTATION DEFINED, bits [7:4]<br />

IMPLEMENTATION DEFINED, bits [3:0]<br />

The Auxiliary Feature Register 0 has four 4-bit IMPLEMENTATION FIELDS. These fields are defined by the<br />

implementer of the design. The implementer is identified by the Implementer field of the Main ID Register,<br />

see:<br />

c0, Main ID Register (MIDR) on page B3-81, for a VMSA implementation<br />

c0, Main ID Register (MIDR) on page B4-32, for a PMSA implementation.<br />

The Auxiliary Feature Register 0 enables implementers to include additional design features in the CPUID<br />

scheme. Field definitions for the Auxiliary Feature Register 0 might:<br />

differ between different implementers<br />

be subject to change<br />

migrate over time, for example if they are incorporated into the main architecture.<br />

Accessing the ID_AFR0<br />

To access the ID_AFR0 you read the CP15 registers with set to 0, set to c0, set to c1, <strong>and</strong><br />

set to 3. For example:<br />

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

IMP IMP IMP IMP<br />

B5-8 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!