05.02.2013 Views

ARM Architecture Reference Manual ARMv7-A and ARMv7-R edition

ARM Architecture Reference Manual ARMv7-A and ARMv7-R edition

ARM Architecture Reference Manual ARMv7-A and ARMv7-R edition

SHOW MORE
SHOW LESS

Create successful ePaper yourself

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

Debug Registers <strong>Reference</strong><br />

Bit [21], IVA or Context ID comparison<br />

This bit is set to 1 for a Context ID comparison.<br />

This bit is UNK/SBZP for BRPs that do not support Context ID comparison. In<br />

this case field values of 0b010 <strong>and</strong> 0b011 are not supported.<br />

Bit [20], Unlinked or Linked comparison<br />

This bit is set to 1 if this BRP is linked to another BRP to set a breakpoint that<br />

requires both IVA <strong>and</strong> Context ID comparison.<br />

For more information about IVA matching <strong>and</strong> mismatching see:<br />

Byte address selection behavior on IVA match or mismatch on page C10-55<br />

Breakpoint address range masking behavior, v7 Debug on page C3-9<br />

IVA comparisons <strong>and</strong> instruction length on page C3-10.<br />

The possible values of the DBGBVR meaning field are:<br />

0b000 Unlinked Instruction Virtual Address match<br />

Compare:<br />

the byte address select bits, bits [8:5], <strong>and</strong> the associated<br />

DBGBVR[31:2], against the IVA of the instruction<br />

the security state control <strong>and</strong> privileged mode control bits,<br />

bits [15:14,2:1], against the state of the processor.<br />

Generate a Breakpoint debug event on a joint IVA match <strong>and</strong> state match.<br />

DBGBCR[19:16] must be programmed to 0b0000, otherwise the generation of<br />

Breakpoint debug events is UNPREDICTABLE.<br />

0b001 Linked Instruction Virtual Address match<br />

Compare:<br />

the byte address select bits, bits [8:5], <strong>and</strong> the associated<br />

DBGBVR[31:2], against the IVA of the instruction<br />

the security state control <strong>and</strong> privileged mode control bits,<br />

bits [15:14,2:1], against the state of the processor.<br />

This BRP is linked with the BRP indicated by DBGBCR[19:16]. Generate a<br />

Breakpoint debug event on a joint IVA match, Context ID match <strong>and</strong> state<br />

match. For more information, see Linked comparisons on page C10-59.<br />

0b010 Unlinked Context ID match<br />

Compare:<br />

the associated DBGBVR[31:0] against the Context ID in the<br />

CONTEXTIDR<br />

the security state control <strong>and</strong> privileged mode control bits,<br />

bits [15:14,2:1], against the state of the processor.<br />

This BRP is not linked with any other one. Generate a Breakpoint debug event<br />

on a joint Context ID match <strong>and</strong> state match.<br />

<strong>ARM</strong> DDI 0406B Copyright © 1996-1998, 2000, 2004-2008 <strong>ARM</strong> Limited. All rights reserved. C10-51

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

Saved successfully!

Ooh no, something went wrong!