14.06.2015 Views

Power ISA™ Version 2.03 - Power.org

Power ISA™ Version 2.03 - Power.org

Power ISA™ Version 2.03 - Power.org

SHOW MORE
SHOW LESS

Create successful ePaper yourself

Turn your PDF publications into a flip-book with our unique Google optimized e-Paper software.

<strong>Version</strong> <strong>2.03</strong><br />

40:41 Data Address Compare 1/2 Mode<br />

(DAC12M)<br />

00 Exact address compare<br />

DAC1 debug events can occur only if the<br />

address of the data storage access is equal<br />

to the value specified in DAC1.<br />

DAC2 debug events can occur only if the<br />

address of the data storage access is equal<br />

to the value specified in DAC2.<br />

01 Address bit match<br />

DAC1 and DAC2 debug events can occur<br />

only if the address of the data storage<br />

access, ANDed with the contents of DAC2<br />

are equal to the contents of DAC1, also<br />

ANDed with the contents of DAC2.<br />

If DAC1US≠DAC2US or<br />

DAC1ER≠DAC2ER, results are boundedly<br />

undefined.<br />

10 Inclusive address range compare<br />

DAC1 and DAC2 debug events can occur<br />

only if the address of the data storage<br />

access is greater than or equal to the value<br />

specified in DAC1 and less than the value<br />

specified in DAC2.<br />

If DAC1US ≠ DAC2US or DAC1ER ≠<br />

DAC2ER, results are boundedly undefined.<br />

11 Exclusive address range compare<br />

DAC1 and DAC2 debug events can occur<br />

only if the address of the data storage<br />

access is less than the value specified in<br />

DAC1 or is greater than or equal to the<br />

value specified in DAC2.<br />

If DAC1US ≠ DAC2US or DAC1ER ≠<br />

DAC2ER, results are boundedly undefined.<br />

42:43 Reserved<br />

44:45 Data Value Compare 1 Mode (DVC1M)<br />

00 DAC1 debug events can occur<br />

01 DAC1 debug events can occur only when<br />

all bytes specified in DBCR2 DVC1BE in the<br />

data value of the data storage access<br />

match their corresponding bytes in DVC1<br />

10 DAC1 debug events can occur only when<br />

at least one of the bytes specified in<br />

DBCR2 DVC1BE in the data value of the<br />

data storage access matches its corresponding<br />

byte in DVC1<br />

11 DAC1 debug events can occur only when<br />

all bytes specified in DBCR2 DVC1BE within<br />

at least one of the halfwords of the data<br />

value of the data storage access matches<br />

their corresponding bytes in DVC1<br />

46:47 Data Value Compare 2 Mode (DVC2M)<br />

00 DAC2 debug events can occur<br />

01 DAC2 debug events can occur only when<br />

all bytes specified in DBCR2 DVC2BE in the<br />

data value of the data storage access<br />

match their corresponding bytes in DVC2<br />

10 DAC2 debug events can occur only when<br />

at least one of the bytes specified in<br />

DBCR2 DVC2BE in the data value of the<br />

data storage access matches its corresponding<br />

byte in DVC2<br />

11 DAC2 debug events can occur only when<br />

all bytes specified in DBCR2 DVC2BE within<br />

at least one of the halfwords of the data<br />

value of the data storage access matches<br />

their corresponding bytes in DVC2<br />

48:55 Data Value Compare 1 Byte Enables<br />

(DVC1BE)<br />

Specifies which bytes in the aligned data<br />

value being read or written by the storage<br />

access are compared to the corresponding<br />

bytes in DVC1.<br />

56:63 Data Value Compare 2 Byte Enables<br />

(DVC2BE)<br />

Specifies which bytes in the aligned data<br />

value being read or written by the storage<br />

access are compared to the corresponding<br />

bytes in DVC2<br />

8.5.2 Debug Status Register<br />

The Debug Status Register (DBSR) is a 32-bit register<br />

and contains status on debug events and the most<br />

recent processor reset.<br />

The DBSR is set via hardware, and read and cleared<br />

via software. The contents of the DBSR can be read<br />

into bits 32:63 of a register RT using the mfspr instruction,<br />

setting bits 0:31 of RT to zero. Bits in the DBSR<br />

can be cleared using the mtspr instruction. Clearing is<br />

done by writing bits 32:63 of a register to the DBSR<br />

with a 1 in any bit position that is to be cleared and 0 in<br />

all other bit positions. The write-data to the DBSR is not<br />

direct data, but a mask. A 1 causes the bit to be<br />

cleared, and a 0 has no effect.<br />

The bit definitions for the DBSR are shown below:<br />

Bit(s) Description<br />

32 Imprecise Debug Event (IDE)<br />

Set to 1 if MSR DE =0 and a debug event<br />

causes its respective Debug Status Register<br />

bit to be set to 1.<br />

33 Unconditional Debug Event (UDE)<br />

Set to 1 if an Unconditional debug event<br />

occurred. See Section 8.4.8.<br />

Chapter 8. Debug Facilities<br />

595

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

Saved successfully!

Ooh no, something went wrong!