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.

C10.9.8 c9, Event Type Select Register (PMXEVTYPER)<br />

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

The Event Type Select Register, PMXEVTYPER, configures which event increments the current event<br />

counter, PMNx, or to read the current configuration. PMSELR selects the current event counter, see c9,<br />

Event Counter Selection Register (PMSELR) on page C10-113.<br />

The PMXEVTYPER is:<br />

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

accessible in:<br />

— privileged modes<br />

— User mode only when the PMUSERENR.EN bit is set to 1<br />

when the Security Extensions are implemented, a Common register<br />

accessed using an MRC or MCR comm<strong>and</strong> with set to c9, set to 0, set to c13, <strong>and</strong><br />

set to 1.<br />

The format of the PMXEVTYPER is:<br />

31 8 7 0<br />

Bits [31:8] Reserved, UNK/SBZP.<br />

evtCount, bits [7:0]<br />

Event to count. The Event number of the event that is counted by the current event counter,<br />

PMNx. For more information, see Event numbers.<br />

The contents of each of the Event Type Select Registers are UNKNOWN on a core logic reset.<br />

Event numbers<br />

Event numbers are used in the PMXEVTYPER to determine the event that causes an event counter to<br />

increment. These event numbers are split into two ranges:<br />

0x00-0x3F Common features. Reserved for the specified events. When an <strong>ARM</strong>v7 processor supports<br />

monitoring of an event that is assigned a number in this range, if possible it must use that<br />

number for the event. Unassigned values are reserved <strong>and</strong> might be used to define additional<br />

common events in future <strong>edition</strong>s of this manual.<br />

0x40-0xFF IMPLEMENTATION DEFINED features.<br />

Reserved, UNK/SBZP evtCount<br />

For more information, including the assigned values in the common features range, see Event numbers on<br />

page C9-13.<br />

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

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

Saved successfully!

Ooh no, something went wrong!