
69rlq62d-f714peg4 * Memec (Headquar
ter
s) - Unique
Tec
h,
Insight,
Impact
MAR
VELL CONFIDENTIAL,
UNDER ND
A# 12101050
69rlq62d-f714peg4 * Memec (Headquar
ter
s) - Unique
Tec
h,
Insight,
Impact
MAR
VELL CONFIDENTIAL,
UNDER ND
A# 12101050
69r
lq62d-f714peg4 * Memec (Headquar
ters) - Unique
T
ech, Insight, Impact * UNDER ND
A# 12101050
MAR
VELL CONFIDENTIAL - UNA
UTHORIZED DISTRIB
UTION OR USE STRICTL
Y PR
OHIBITED
PXA300 Processor and PXA310 Processor
Vol. I: System and Timer Configuration Developers Manual
Doc. No. MV-TBD-00 Rev. A
CONFIDENTIAL
Copyright © 12/13/06 Marvell
Page 54
Document Classification: Proprietary Information
December 13, 2006
Not approved by Document Control. For review only.
•
Memory-mapped register access mode
•
Coprocessor-register access mode
Coprocessor-register access mode results in significantly reduced interrupt latencies. Accessing the interrupt
controller registers in coprocessor-register access mode must be performed in supervisor mode.The MRC and
MRC2 coprocessor operations are treated identically and access the same registers within the coprocessor.
Similarly, the MCR and MCR2 coprocessor partitions are treated identically and access the same registers within
the coprocessor.
Access to interrupt control registers via the CP is limited depending whether the core is in user or supervisor
mode. An undefined instruction exception is generated if an access is made in user mode.
2.15.3
Performance Monitoring Registers
Access: Coprocessor 14 — see
The performance-monitoring registers include four 32-bit performance counters, allowing four separate events to
be monitored simultaneously. In addition, a 32-bit clock counter is available, which can be used to count the
number of core clock cycles. For additional information, refer to
Chapter 15, “Performance Monitoring and
of this document, which defines ASSP-level monitors.
Table 2-4. Performance Monitoring Registers
Name
Description
CRm
CRn
Instruction
PMNC
Performance Monitor Control
Register
0
1
Read: MRC p14, 0, Rd, c0, c1, 0
Write: MCR p14, 0, Rd, c0, c1, 0
CCNT
Clock Counter Register
1
1
Read: MRC p14, 0, Rd, c1, c1, 0
Write: MCR p14, 0, Rd, c1, c1, 0
INTEN
Interrupt Enable Register
4
1
Read: MRC p14, 0, Rd, c4, c1, 0
Write: MCR p14, 0, Rd, c4, c1, 0
FLAG
Overflow Flag Register
5
1
Read: MRC p14, 0, Rd, c5, c1, 0
Write: MCR p14, 0, Rd, c5, c1, 0
EVTSEL
Event Selection Register
8
1
Read: MRC p14, 0, Rd, c8, c1, 0
Write: MCR p14, 0, Rd, c8, c1, 0
PMN0
Performance Count Register 0
0
2
Read: MRC p14, 0, Rd, c0, c2, 0
Write: MCR p14, 0, Rd, c0, c2, 0
PMN1
Performance Count Register 1
1
2
Read: MRC p14, 0, Rd, c1, c2, 0
Write: MCR p14, 0, Rd, c1, c2, 0
PMN2
Performance Count Register 2
2
2
Read: MRC p14, 0, Rd, c2, c2, 0
Write: MCR p14, 0, Rd, c2, c2, 0
PMN3
Performance Count Register 3
3
2
Read: MRC p14, 0, Rd, c3, c2, 0
Write: MCR p14, 0, Rd, c3, c2, 0