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.

Programmer’s Model• access bit faults• domain faults• permission faults.NoteInstruction memory system operations performed with the system control coprocessorscan also generate internal precise data aborts.Externally generated data aborts can be precise or imprecise. Two separate FSRencodings indicate if the external abort is precise or imprecise:• all external aborts to loads or stores to strongly ordered memory are precise• all external aborts to loads to the Program Counter or the CSPR are precise• all external aborts on the load part of a SWP are precise• all other external aborts are imprecise.External aborts are supported on cacheable locations. The abort is transmitted to theprocessor only if the processor requests a word that had an external abort.Precise data abortsThe state of the system presented to the abort exception handler for a precise abort isalways the state for the instruction that caused the abort. It cannot be the state for asubsequent instruction. As a result, it is straightforward to restart the processor after theexception handler has rectified the cause of the abort.The processor implements the base restored Data Abort model, which differs from thebase updated Data Abort model implemented by the <strong>ARM</strong>7TDMI-S processor.With the base restored Data Abort model, when a data abort exception occurs during theexecution of a memory access instruction, the processor hardware always restores thebase register to the value it contained before the instruction was executed. This removesthe requirement for the Data Abort handler to unwind any base register update, that theaborted instruction might have specified. This simplifies the software Data Aborthandler. See the <strong>ARM</strong> Architecture Reference Manual for more information.After dealing with the cause of the abort, the handler executes the following returninstruction, irrespective of the processor operating state at the point of entry:SUBS PC,R14_abt,#8This restores both the PC and the CPSR, and retries the aborted instruction.<strong>ARM</strong> DDI 0344E Copyright © 2006-2008 <strong>ARM</strong> Limited. All rights reserved. 2-39

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

Saved successfully!

Ooh no, something went wrong!