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 />

Programmers’ model, bits [3:0]<br />

Support for the st<strong>and</strong>ard programmers’ model for <strong>ARM</strong>v4 <strong>and</strong> later. Model must support<br />

User, FIQ, IRQ, Supervisor, Abort, Undefined <strong>and</strong> System modes. Permitted values are:<br />

0b0000 Not supported.<br />

0b0001 Supported.<br />

Accessing the Processor Feature registers<br />

To access the Processor Feature Registers you read the CP15 registers with set to 0, set to c0,<br />

set to c1, <strong>and</strong> set to:<br />

0 for ID_PFR0<br />

1 for ID_PFR1.<br />

For example:<br />

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

B5.2.2 c0, Debug Feature Register 0 (ID_DFR0)<br />

The Debug Feature Register 0, ID_DFR0, provides top level information about the debug system for the<br />

processor. You can obtain more information from the debug infrastructure, see Debug identification<br />

registers on page C10-3.<br />

The format of the ID_DFR0 is:<br />

31 24 23 20 19 16 15 12 11 8 7 4 3 0<br />

Reserved, RAZ<br />

Debug model, M profile<br />

Memory-mapped trace model<br />

Coprocessor trace model<br />

Memory-mapped debug model, A <strong>and</strong> R profiles<br />

Coprocessor Secure debug model, A profile only<br />

Coprocessor debug model, A <strong>and</strong> R profiles<br />

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

Debug model, M profile, bits [23:20]<br />

Support for memory-mapped debug model for M profile processors. Permitted values are:<br />

0b0000 Not supported.<br />

0b0001 Support for M profile Debug architecture, with memory-mapped access.<br />

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