Debug Status Register (Dbsr); Figure 8-4. Debug Status Register (Dbsr) - IBM PPC440X5 CPU Core User Manual

Cpu core
Table of Contents

Advertisement

User's Manual
PPC440x5 CPU Core
DVC 2 Mode
00 Reserved
01 AND all bytes enabled by DVC2BE
14:15
DVC2M
10 OR all bytes enabled by DVC2BE
11 AND-OR pairs of bytes enabled by DVC2BE
16:19
Reserved
20:23
DVC1BE
DVC 1 Byte Enables 0:3
24:27
Reserved
28:31
DVC2BE
DVC 2 Byte Enables 0:3

8.6.4 Debug Status Register (DBSR)

The DBSR contains status on debug events as well as information on the type of the most recent reset. The
status bits are set by the occurrence of debug events, while the reset type information is updated upon the
occurrence of any of the three reset types.
The DBSR is read into a GPR using mfspr. Clearing the DBSR is performed using mtspr by placing a 1 in
the GPR source register in all bit positions which are to be cleared in the DBSR, and a 0 in all other bit posi-
tions. The data written from the GPR to the DBSR is not direct data, but a mask. A 1 clears the bit and a 0
leaves the corresponding DBSR bit unchanged.
IDE
MRR
BRT
TRAP
0 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17
UDE
ICMP IRPT IAC1

Figure 8-4. Debug Status Register (DBSR)

Imprecise Debug Event
0 Debug event ocurred while MSR[DE] = 1
0
IDE
1 Debug event occurred while MSR[DE] = 0
Unconditional Debug Event
0 Event didn't occur
1
UDE
1 Event occurred
Most Recent Reset
00 No reset has occurred since this field was last
2:3
MRR
01 Core reset
10 Chip reset
11 System reset
Instruction Completion Debug Event
0 Event didn't occur
4
ICMP
1 Event occurred
Branch Taken Debug Event
0 Event didn't occur
5
BRT
1 Event occurred
Page 244 of 589
IAC2
IAC4 DAC1W
DAC2W
IAC3
DAC1R
DAC2R
RET
cleared by software.
(0 AND 1) OR (2 AND 3)
For synchronous debug events in internal debug
mode, this field indicates whether the correspond-
ing Debug interrupt occurs precisely or impre-
cisely
This field is set upon any processor reset to a
value indicating the type of reset.
Preliminary
IAC34ATS
29 30 31
IAC12ATS
debug.fm.
September 12, 2002

Hide quick links:

Advertisement

Table of Contents
loading

Table of Contents