![Intel IXP45X Скачать руководство пользователя страница 109](http://html1.mh-extra.com/html/intel/ixp45x/ixp45x_developers-manual_2073092109.webp)
Intel
®
IXP45X and Intel
®
IXP46X Product Line of Network Processors
August 2006
Developer’s Manual
Order Number: 306262-004US
109
Intel XScale
®
Processor—Intel
®
IXP45X and Intel
®
IXP46X Product Line of Network Processors
All other registers are reserved in CP14. Reading and writing them yields unpredictable
results.
3.5.2.1
Performance Monitoring Registers
The performance monitoring unit contains a control register (PMNC), a clock counter
(CCNT), interrupt enable register (INTEN), overflow flag register (FLAG), event
selection register (EVTSEL) and four event counters (PMN0 through PMN3). The format
of these registers can be found in
“Performance Monitoring” on page 157
, along with a
description on how to use the performance monitoring facility.
Opcode_2 should be zero on all accesses.
These registers can’t be accessed by LDC and STC coprocessor instructions.
3.5.2.2
Clock and Power Management Registers
These registers contain functions for managing the core clock and power.
For the IXP45X/IXP46X network processors, these registers are not implemented and
reserved for future use.
Table 29.
CP14 Registers
Description
Access
Register# (CRn)
Register# (CRm)
Performance Monitoring
Read / Write
0,1,4,5,8
1
0-3
2
Clock and Power Management
Read / Write
6-7
0
Software Debug
Read / Write
8-15
0
Table 30.
Accessing the Performance Monitoring Registers
Description
CRn
Register
#
CRm
Register
#
Instruction
(PMNC) Performance Monitor Control
Register
0b0000
0b0001
Read: MRC p14, 0, Rd, c0, c1, 0
Write: MCR p14, 0, Rd, c0, c1, 0
(CCNT) Clock Counter Register
0b0001
0b0001
Read: MRC p14, 0, Rd, c1, c1, 0
Write: MCR p14, 0, Rd, c1, c1, 0
(INTEN) Interrupt Enable Register
0b0100
0b0001
Read: MRC p14, 0, Rd, c4, c1, 0
Write: MCR p14, 0, Rd, c4, c1, 0
(FLAG) Overflow Flag Register
0b0101
0b0001
Read: MRC p14, 0, Rd, c5, c1, 0
Write: MCR p14, 0, Rd, c5, c1, 0
(EVTSEL) Event Selection Register
0b1000
0b0001
Read: MRC p14, 0, Rd, c8, c1, 0
Write: MCR p14, 0, Rd, c8, c1, 0
(PMN0) Performance Count Register 0
0b0000
0b0010
Read: MRC p14, 0, Rd, c0, c2, 0
Write: MCR p14, 0, Rd, c0, c2, 0
(PMN1) Performance Count Register 1
0b0001
0b0010
Read: MRC p14, 0, Rd, c1, c2, 0
Write: MCR p14, 0, Rd, c1, c2, 0
(PMN2) Performance Count Register 2
0b0010
0b0010
Read: MRC p14, 0, Rd, c2, c2, 0
Write: MCR p14, 0, Rd, c2, c2, 0
(PMN3) Performance Count Register 3
0b0011
0b0010
Read: MRC p14, 0, Rd, c3, c2, 0
Write: MCR p14, 0, Rd, c3, c2, 0