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.

Debug Registers <strong>Reference</strong><br />

The format of the PMCR is:<br />

31 24 23 16 15 11 10 6 5 4 3 2 1 0<br />

IMP IDCODE N UNK/SBZP DP X D C P E<br />

IMP, bits [31:24]<br />

Implementer code. This is a read-only field with an IMPLEMENTATION DEFINED value.<br />

The Implementer codes are allocated by <strong>ARM</strong>. Values have the same interpretation as bits<br />

[31:24] of the CP15 Main ID Register, 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 />

IDCODE, bits [23:16]<br />

Identification code. This is a read-only field with an IMPLEMENTATION DEFINED value.<br />

Each implementer must maintain a list of identification codes that is specific to the<br />

implementer. A specific implementation is identified by the combination of the implementer<br />

code <strong>and</strong> the identification code.<br />

N, bits [15:11]<br />

Number of event counters. This is a read-only field with an IMPLEMENTATION DEFINED value<br />

that indicates the number of counters implemented.<br />

The value of this field is the number of counters implemented, from 0b00000 for no counters<br />

to 0b11111 for 31 counters.<br />

An implementation can implement only the Clock Counter (PMCCNTR) Register. This is<br />

indicated by a value of 0b00000 for the N field.<br />

Bits [10:6] Reserved, UNK/SBZP.<br />

DP, bit [5] Disable PMCCNTR when prohibited. The possible values of this bit are:<br />

0 Count is enabled in prohibited regions<br />

1 Count is disabled in prohibited regions.<br />

Prohibited regions are defined as regions where event counting would be prohibited. For<br />

example, if non-invasive debug is disabled in all Secure modes, the Secure state is a<br />

prohibited region. For details of non-invasive debug authentication see Chapter C7<br />

Non-invasive Debug Authentication.<br />

Note<br />

This bit permits a Non-secure process to discard cycle counts that might be accumulated<br />

during periods when the other counts are prohibited because of security prohibitions. It is<br />

not a control to enhance security. The function of this bit is to avoid corruption of the count.<br />

See also Interaction with Security Extensions on page C9-7.<br />

This is a read/write bit. Its core logic reset value is 0.<br />

C10-106 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!