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.

C10.6 OS Save <strong>and</strong> Restore registers, v7 Debug only<br />

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

Support for the OS Save <strong>and</strong> Restore mechanism registers depends on the Debug architecture version:<br />

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

These registers are not defined.<br />

v7 Debug If an implementation supports debug over power-down, then it must implement the OS Save<br />

<strong>and</strong> Restore mechanism registers. On SinglePower systems, <strong>and</strong> on any other system that<br />

does not support debug over power-down, it is IMPLEMENTATION DEFINED whether the OS<br />

Save <strong>and</strong> Restore mechanism is implemented.<br />

Any implementation that does not support the OS Save <strong>and</strong> Restore mechanism must<br />

implement the DBGOSLSR as RAZ.<br />

This section describes the registers that provide the OS Save <strong>and</strong> Restore mechanism in the following<br />

subsections:<br />

OS Lock Access Register (DBGOSLAR)<br />

OS Lock Status Register (DBGOSLSR) on page C10-76<br />

OS Save <strong>and</strong> Restore Register (DBGOSSRR) on page C10-77.<br />

In addition, the Event Catch Register enables the generation of a debug event when the OS Lock is unlocked.<br />

This register is described in Event Catch Register (DBGECR) on page C10-78.<br />

C10.6.1 OS Lock Access Register (DBGOSLAR)<br />

The OS Lock Access Register, DBGOSLAR, provides a lock for the debug registers. When the registers<br />

have been locked any access to the registers returns a slave-generated error response. Writing the key value<br />

to the DBGOSLAR has the side effect of resetting the internal counter for the OS Save or Restore operation.<br />

You must use the DBGOSLSR to check the current status of the lock, see OS Lock Status Register<br />

(DBGOSLSR) on page C10-76.<br />

The DBGOSLAR is:<br />

debug register 192, at offset 0x300<br />

a write-only 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 192<br />

ignores writes.<br />

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

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

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

Saved successfully!

Ooh no, something went wrong!