User’s Manual
Preliminary
PPC440x5 CPU Core
debug.fm.
September 12, 2002
Page 239 of 589
changing any of the debug facility register fields related to the DAC and/or
DVC debug events, software must execute an msync instruction before
making the changes, to ensure that all storage accesses complete using
the old context of these register fields.
8.6.1 Debug Control Register 0 (DBCR0)
DBCR0 is an SPR that is used to enable debug modes and events, reset the processor, and control timer
operation when debugging. DBCR0 can be written from a GPR using
mtspr, and can be read into a GPR
using
mfspr.
Figure 8-1. Debug Control Register 0 (DBCR0)
0
EDM
External Debug Mode
0 Disable external debug mode.
1 Enable external debug mode.
1
IDM
Internal Debug Mode
0 Disable internal debug mode.
1 Enable internal debug mode.
2:3
RST
Reset
00 No action
01 Core reset
10 Chip reset
11 System reset
Attention: Writing 01, 10, or 11 to this field causes a processor reset to occur.
4
ICMP
Instruction Completion Debug Event
0 Disable instruction completion debug event.
1 Enable instruction completion debug event.
Instruction completions do not cause
instruction completion debug events if
MSR[DE] = 0 in internal debug mode,
unless also in external debug mode or
debug wait mode.
5
BRT
Branch Taken Debug Event
0 Disable branch taken debug event.
1 Enable branch taken debug event.
Taken branches do not cause branch
taken debug events if MSR[DE] = 0 in
internal debug mode, unless also in
external debug mode or debug wait
mode.
6
IRPT
Interrupt Debug Event
0 Disable interrupt debug event.
1 Enable interrupt debug event.
Critical interrupts do not cause interrupt
debug events in internal debug mode,
unless also in external debug mode or
debug wait mode.
7
TRAP
Trap Debug Event
0 Disable trap debug event.
1 Enable trap debug event.
8
IAC1
Instruction Address Compare (IAC) 1 Debug Event
0 Disable IAC 1 debug event.
1 Enable IAC 1 debug event.
0
1
2
3
4
5
6
7
8
9 10 11 12 13 14 15 16 17
30 31
EDM
IDM
RST
ICMP
BRT
RET
DAC1R
TRAP
FT
IAC1
IAC2
IAC3
IAC4 DAC1W
DAC2R
IRPT
DAC2W
Содержание PPC440X5 CPU Core
Страница 1: ...PPC440x5 CPU Core User s Manual Preliminary SA14 2613 02 September 12 2002 Title Page...
Страница 22: ...User s Manual PPC440x5 CPU Core Preliminary Page 22 of 583 ppc440x5LOT fm September 12 2002...
Страница 26: ...User s Manual PPC440x5 CPU Core Preliminary Page 26 of 589 preface fm September 12 2002...
Страница 38: ...User s Manual PPC440x5 CPU Core Preliminary Page 38 of 589 overview fm September 12 2002...
Страница 94: ...User s Manual PPC440x5 CPU Core Preliminary Page 94 of 589 init fm September 12 2002...
Страница 132: ...User s Manual PPC440x5 CPU Core Preliminary Page 132 of 589 cache fm September 12 2002...
Страница 158: ...User s Manual PPC440x5 CPU Core Preliminary Page 158 of 589 mmu fm September 12 2002...
Страница 218: ...User s Manual PPC440x5 CPU Core Preliminary Page 218 of 589 timers fm September 12 2002...
Страница 248: ...User s Manual PPC440x5 CPU Core Preliminary Page 248 of 589 debug fm September 12 2002...
Страница 458: ...User s Manual PPC440x5 CPU Core Preliminary Page 458 of 589 regsummIntro fm September 12 2002...
Страница 568: ...User s Manual PPC440x5 CPU Core Preliminary Page 568 of 589 instalfa fm September 12 2002...
Страница 588: ...User s Manual PPC440x5 CPU Core Preliminary Page 588 of 583 ppc440x5IX fm September 12 2002...
Страница 590: ......