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.

Vector catch operation when Security Extensions are not implemented<br />

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

For each bit of the DBGVCR, the vector addresses caught depends on the exception vector configuration in<br />

the SCTLR:<br />

whether the SCTLR.V bit is programmed for Normal or High exception vectors<br />

for catches on the FIQ <strong>and</strong> IRQ exception vectors, on the programming of the SCTLR.VE bit.<br />

Table C10-15 shows how the vector address that corresponds to each active bit of the DBGVCR depends on<br />

these configuration settings:<br />

Table C10-15 Vector catch addresses, for processors without Security Extensions<br />

DBGVCR bit Vector catch enabled<br />

Vector catch operation when Security Extensions are implemented<br />

Configured exception vectors<br />

Normal (V == 0) High (V == 1)<br />

[7] FIQ VE == 0 0x0000001C 0xFFFF001C<br />

VE == 1 Most recent FIQ address a<br />

[6] IRQ VE == 0 0x00000018 0xFFFF0018<br />

VE == 1 Most recent IRQ address a<br />

[4] Data Abort 0x00000010 0xFFFF0010<br />

[3] Prefetch Abort 0x0000000C 0xFFFF000C<br />

[2] SVC 0x00000008 0xFFFF0008<br />

[1] Undefined Instruction 0x00000004 0xFFFF0004<br />

[0] Reset 0x00000000 0xFFFF0000<br />

a. For more information see Vector catch debug events <strong>and</strong> vectored interrupt support on<br />

page C3-22.<br />

When the Security Extensions are implemented, for each bit of the DBGVCR, the vector addresses caught<br />

depends:<br />

On the value programmed in the appropriate Vector Base Address Register:<br />

— the Non-secure copy of the Vector Base Address Register (VBARNS) for the Non-secure state<br />

vector catches<br />

— the Monitor Vector Base Address Register (MVBAR) for the Secure state vector catches on<br />

the Monitor mode vectors<br />

— the Secure copy of the Vector Base Address Register (VBARS) for the Secure state vector<br />

catches on the exception vectors.<br />

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

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

Saved successfully!

Ooh no, something went wrong!