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 />

C10.7 Memory system control registers<br />

Support for the Memory system control registers can depend on the Debug architecture version:<br />

v6 Debug <strong>and</strong> v6.1 Debug<br />

In some v6 Debug <strong>and</strong> v6.1 Debug implementations a Cache Behavior Override Register<br />

(CBOR) is provided in an IMPLEMENTATION DEFINED region of the CP15 register space. In<br />

addition, particularly in v6.1 Debug implementations, the Debug State MMU Control<br />

Register (DBGDSMCR) <strong>and</strong> Debug State Cache Control Register (DBGDSCCR) might be<br />

implemented as IMPLEMENTATION DEFINED extensions to CP14, as described below.<br />

v6 Debug <strong>and</strong> v6.1 Debug do not require these registers. However, <strong>ARM</strong> recommends these<br />

features to assist debuggers to maintaining memory coherency, avoiding costly explicit<br />

coherency operations.<br />

v7 Debug In v7 Debug, the DBGDSMCR <strong>and</strong> DBGDSCCR are required, but there can be<br />

IMPLEMENTATION DEFINED limits on their behavior. The CP15 register CBOR remains<br />

IMPLEMENTATION DEFINED.<br />

The Memory system control registers are described in the subsections:<br />

Debug State Cache Control Register (DBGDSCCR) on page C10-81<br />

Debug State MMU Control Register (DBGDSMCR) on page C10-84.<br />

The Debug State Cache Control Register (DBGDSCCR) <strong>and</strong> Debug State MMU Control Register<br />

(DBGDSMCR) control cache <strong>and</strong> TLB behavior for memory operations issued by a debugger when the<br />

processor is in Debug state. They enable a debugger to request the minimum amount of intrusion to the<br />

processor caches, as permitted by the implementation. It is IMPLEMENTATION DEFINED what levels of cache<br />

<strong>and</strong> TLB are controlled by these requests, <strong>and</strong> it is IMPLEMENTATION DEFINED to what extent the intrusion<br />

is limited.<br />

The DBGDSCCR also provides a mechanism for a debugger to force writes to memory through to the point<br />

of coherency without the overhead of issuing additional operations.<br />

The DBGDSCCR <strong>and</strong> DBGDSMCR controls must apply for all memory operations issued in Debug state<br />

when DBGDSCR.ADAdiscard, the Asynchronous Data Aborts Discarded bit, is set to 1. It is<br />

IMPLEMENTATION DEFINED whether memory operations issued in Debug state whilst this bit is not set to 1<br />

are affected by the DBGDSCCR <strong>and</strong> DBGDSMCR.<br />

C10-80 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!