09.12.2012 Views

Cortex-A8 Technical Reference Manual - ARM Information Center

Cortex-A8 Technical Reference Manual - ARM Information Center

Cortex-A8 Technical Reference Manual - ARM Information Center

SHOW MORE
SHOW LESS

Create successful ePaper yourself

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

Bits Field Function<br />

[15:14] Secure state<br />

access<br />

control<br />

[13] - Reserved. RAZ, SBZP.<br />

[12:5] Byte address<br />

select<br />

Debug<br />

Table 12-26 Watchpoint Control Registers bit functions (continued)<br />

Secure state access control. This field enables the watchpoint to be conditioned on the security<br />

state of the processor:<br />

b00 = watchpoint matches in both Secure and Nonsecure state<br />

b01 = watchpoint only matches in Nonsecure state<br />

b10 = watchpoint only matches in Secure state<br />

b11 = reserved.<br />

Byte address select. The WVR is programmed with word-aligned address. You can use this<br />

field to program the watchpoint so it only hits if certain byte addresses are accessed.<br />

For word-aligned addresses, WVRn[2]=1 indicates a 32-bit aligned address:<br />

b00000000 = the watchpoint never hits<br />

b0000xxx1 = the watchpoint hits if the byte at address (WVR & 0xFFFFFFFC)+0 is accessed<br />

b0000xx1x = the watchpoint hits if the byte at address (WVR & 0xFFFFFFFC)+1 is accessed<br />

b0000x1xx= the watchpoint hits if the byte at address (WVR & 0xFFFFFFFC)+2 is accessed<br />

b00001xxx= the watchpoint hits if the byte at address (WVR & 0xFFFFFFFC)+3 is accessed<br />

bxxx1xxxx= UNPREDICTABLE<br />

bxx1xxxxx = UNPREDICTABLE<br />

bx1xxxxxx = UNPREDICTABLE<br />

b1xxxxxxx= UNPREDICTABLE<br />

For double word-aligned addresses, WVRn[2]=0 indicates a 64-bit aligned address:<br />

b00000000 = the watchpoint never hits<br />

bxxxxxxx1 = the watchpoint hits if the byte at address (WVR & 0xFFFFFFFC) +0 is accessed<br />

bxxxxxx1x = the watchpoint hits if the byte at address (WVR & 0xFFFFFFFC) +1 is accessed<br />

bxxxxx1xx = the watchpoint hits if the byte at address (WVR & 0xFFFFFFFC) +2 is accessed<br />

bxxxx1xxx = the watchpoint hits if the byte at address (WVR & 0xFFFFFFFC) +3 is accessed<br />

bxxx1xxxx = the watchpoint hits if the byte at address (WVR & 0xFFFFFFF8) +4 is accessed<br />

bxx1xxxxx = the watchpoint hits if the byte at address (WVR & 0xFFFFFFF8) +5 is accessed<br />

bx1xxxxxx = the watchpoint hits if the byte at address (WVR & 0xFFFFFFF8) +6 is accessed<br />

b1xxxxxxx = the watchpoint hits if the byte at address (WVR & 0xFFFFFFF8) +7 is accessed.<br />

<strong>ARM</strong> DDI 0344K Copyright © 2006-2010 <strong>ARM</strong> Limited. All rights reserved. 12-32<br />

ID060510 Non-Confidential

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

Saved successfully!

Ooh no, something went wrong!