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.10 c9, User Enable Register (PMUSERENR)<br />

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

The User Enable Register, PMUSERENR, enables or disables User mode access to the performance<br />

monitors.<br />

The PMUSERENR is:<br />

a 32-bit read/write CP15 register, with access that depends on the current mode:<br />

— in a privileged mode, the PMUSERENR is a read/write register<br />

— in User mode, the PMUSERENR is a read-only register<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 c14, <strong>and</strong><br />

set to 0.<br />

The format of the PMUSERENR is:<br />

31 1 0<br />

Reserved, UNK/SBZP<br />

E<br />

N<br />

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

EN, bit [0] User mode access enable bit. The possible values of this bit are:<br />

0 User mode access to performance monitors disabled<br />

1 User mode access to performance monitors enabled.<br />

Some MCR <strong>and</strong> MRC instructions used to access the performance monitors are UNDEFINED in User mode when<br />

User mode access to the performance monitors is disabled. For more information, see Access permissions<br />

on page C9-12.<br />

The PMUSERENR.EN bit is set to 0 on a core logic reset.<br />

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

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

Saved successfully!

Ooh no, something went wrong!