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.

Locked, bit [1]<br />

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

This bit indicates the status of the OS Lock. The possible values are:<br />

0 Lock not set.<br />

1 Lock set. Writes to debug registers are ignored.<br />

The OS Lock is set or cleared by writing to the DBGOSLAR, see OS Lock Access Register<br />

(DBGOSLAR) on page C10-75.<br />

On a debug logic reset the state of the OS Lock <strong>and</strong> the value of this bit are<br />

IMPLEMENTATION DEFINED. If the implementation includes the recommended external<br />

debug interface they are determined by the value of the DBGOSLOCKINIT signal:<br />

DBGOSLOCKINIT LOW<br />

The lock is not set, <strong>and</strong> the Locked bit is 0<br />

DBGOSLOCKINIT HIGH<br />

The lock is set, <strong>and</strong> the Locked bit is 1.<br />

Lock implemented, bit [0]<br />

This bit reads 1 if it is possible to set the OS Lock for this processor.<br />

If this bit reads 0, OS Lock <strong>and</strong> the OS Save <strong>and</strong> Restore mechanism are not implemented<br />

<strong>and</strong> the entire register is RAZ.<br />

C10.6.3 OS Save <strong>and</strong> Restore Register (DBGOSSRR)<br />

The OS Save <strong>and</strong> Restore Register, DBGOSSRR, enables the entire debug logic state of the processor to be<br />

either saved or restored, by performing a series of reads or writes of the DBGOSSRR. The register works<br />

in conjunction with an internal sequence counter to perform the OS Save or Restore operation.<br />

The DBGOSSRR is:<br />

debug register 194, at offset 0x308<br />

a read/write register<br />

only defined in v7 Debug<br />

when the Security Extensions are implemented, a Common register.<br />

Note<br />

In a v7 Debug implementation that does not implement the OS Save <strong>and</strong> Restore mechanism, register<br />

194 is RAZ/WI.<br />

For more information about access permissions in an implementation that includes the OS Save <strong>and</strong><br />

Restore mechanism but does not provide access to the DBGOSSRR through the external debug<br />

interface, see the Note in The OS Save <strong>and</strong> Restore mechanism on page C6-8.<br />

In v6 Debug <strong>and</strong> v6.1 Debug, register 194 is not defined.<br />

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

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

Saved successfully!

Ooh no, something went wrong!