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

You also want an ePaper? Increase the reach of your titles

YUMPU automatically turns print PDFs into web optimized ePapers that Google loves.

Debug State<br />

This is a particular case of the rules for accessing CP15 registers described in Coprocessor <strong>and</strong> Advanced<br />

SIMD instructions in Debug state.<br />

Note<br />

Normally, in Monitor mode, any exception automatically clears the SCR.NS bit to 0. However an exception<br />

while in Debug state in Monitor mode does not have any effect on the value of the SCR.NS bit.<br />

C5.5.4 Coprocessor <strong>and</strong> Advanced SIMD instructions in Debug state<br />

The following sections describe the coprocessor <strong>and</strong> Advanced SIMD instructions in Debug state:<br />

Instructions for CP0 to CP13, <strong>and</strong> Advanced SIMD instructions<br />

Instructions for CP14 <strong>and</strong> CP15 on page C5-17.<br />

Instructions for CP0 to CP13, <strong>and</strong> Advanced SIMD instructions<br />

This subsection describes:<br />

Coprocessor instructions for CP0 to CP13. These include the VFP instructions.<br />

If the Advanced SIMD extension is implemented, the instruction encodings described in Advanced<br />

SIMD data-processing instructions on page A7-10 <strong>and</strong> Advanced SIMD element or structure<br />

load/store instructions on page A7-27.<br />

Access controls for these instructions are determined:<br />

by the CPACR, see:<br />

— c1, Coprocessor Access Control Register (CPACR) on page B3-104, for a VMSA<br />

implementation<br />

— c1, Coprocessor Access Control Register (CPACR) on page B4-51, for a PMSA<br />

implementation.<br />

additionally, if the Security Extensions are implemented, by the NSACR, see c1, Non-Secure Access<br />

Control Register (NSACR) on page B3-110.<br />

In v6.1 Debug <strong>and</strong> v7 Debug, in Debug state the current mode <strong>and</strong> security state define the privilege <strong>and</strong><br />

access controls for these instructions.<br />

In v6 Debug, in Debug state it is IMPLEMENTATION DEFINED whether these instructions are executed using<br />

the privilege <strong>and</strong> access controls for the current mode <strong>and</strong> security state, or using the privilege <strong>and</strong> access<br />

controls for a privileged mode in the current security state.<br />

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

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

Saved successfully!

Ooh no, something went wrong!