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

It is IMPLEMENTATION DEFINED whether the DBGDSMCR is included in a v6 Debug or v6.1 Debug<br />

implementation.<br />

The format of the DBGDSMCR is:<br />

31 4<br />

Reserved, UNK/SBZP<br />

Bits [31:4] Reserved, UNK/SBZP.<br />

TLB matching bits, bits [3:2]<br />

Instruction TLB matching, nIUM<br />

Data TLB matching, nDUM<br />

Instruction TLB loading, nIUL<br />

Data TLB loading, nDUL<br />

Either or both of these bits might not be implemented, in which case the bit is RAZ/WI. If<br />

implemented these bits are:<br />

nIUM, bit [3] Instruction TLB matching bit, where separate Data <strong>and</strong> Instruction<br />

TLBs are implemented.<br />

nDUM, bit [2] Data or Unified TLB matching bit.<br />

The possible values of an implemented TLB matching bit are:<br />

0 Request disabling of TLB matching for memory operations issued by a<br />

debugger when the processor is in Debug state<br />

1 Normal operation of TLB matching for memory operations issued by a<br />

debugger when the processor is in Debug state.<br />

When TLB matching is disabled, all memory accesses normally checked against a TLB are<br />

not checked against the TLB. For every access the next level of translation is performed. The<br />

results are not cached in the TLB, <strong>and</strong> no TLB entries are evicted. The next level of<br />

translation is used for every access.<br />

The next level of translation might mean looking in the next level TLB, or doing a<br />

translation table walk, depending on the numbers of levels of TLB implemented.<br />

Note<br />

If TLB matching is disabled, <strong>and</strong> TLB maintenance functions have not been correctly<br />

performed by the system being debugged, for example, if the TLB has not been flushed<br />

following a change to the translation tables, memory accesses made by the debugger might<br />

not undergo the same virtual to physical memory mappings as the application being<br />

debugged.<br />

A debugger can create temporary alternative memory mappings by altering the contents of<br />

the external translation tables <strong>and</strong> disabling all levels of TLB matching. However, for<br />

normal debugging operations, <strong>ARM</strong> recommends that the TLB Matching bit is set to 1.<br />

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

3<br />

2 1<br />

0

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

Saved successfully!

Ooh no, something went wrong!