13.07.2015 Views

Cortex-A8 R2P2.pdf - ARM Information Center

Cortex-A8 R2P2.pdf - ARM Information Center

Cortex-A8 R2P2.pdf - ARM Information Center

SHOW MORE
SHOW LESS

Create successful ePaper yourself

Turn your PDF publications into a flip-book with our unique Google optimized e-Paper software.

DebugBits Field FunctionTable 12-29 shows how the bit values correspond with the OS Save and RestoreRegister functions.Table 12-29 OS Save and Restore Register bit functions[31:0] OS save andrestoreOS save and restore. A sequence of reads from this register returns the contents of all theregisters that can be saved. A sequence of writes restores the saved values. The OS must initiatethe sequence by writing a 0xC5ACCE55 key to the OSLAR to set the internal pointer to the startingvalue. This is followed by a read from the OSSRR, and then followed by a series of reads orwrites. The first OSSRR read returns the length of the rest of the sequence, that is, the numberof registers to be saved or restored.These registers are saved and restored in the following order:1. WCR12. WCR03. WVR14. WVR05. BCR56. BCR47. BCR38. BCR29. BCR110. BCR011. BVR512. BVR413. BVR314. BVR215. BVR116. BVR017. DTRTX18. DSCR19. DTRRX20. DSCCR21. VCR22. WFAR.Note• If the OS issues a write to the OSSRR after the sequence has been initialized bywriting the key to the OSLAR, the behavior is Unpredictable.<strong>ARM</strong> DDI 0344E Copyright © 2006-2008 <strong>ARM</strong> Limited. All rights reserved. 12-49

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

Saved successfully!

Ooh no, something went wrong!