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.

The System Level Programmers’ Model<br />

SCR bits<br />

AW EA<br />

Table B1-9 shows the possible values for the SCR.AW <strong>and</strong> SCR.EA bits, <strong>and</strong> the abort h<strong>and</strong>ling that results<br />

in each case:<br />

Effect on abort h<strong>and</strong>ling<br />

Table B1-9 Effect of the SCR.AW <strong>and</strong> SCR.EA bits on abort h<strong>and</strong>ling<br />

0 0 All aborts are h<strong>and</strong>led locally using Abort mode. Asynchronous aborts are maskable only in Secure<br />

state.<br />

This is the reset state <strong>and</strong> supports legacy systems.<br />

0 1 All external aborts, synchronous <strong>and</strong> asynchronous, are h<strong>and</strong>led in Monitor mode. Asynchronous<br />

aborts are maskable only in Secure state.<br />

All security aborts from peripherals can be treated in a safe manner in Monitor mode.<br />

1 0 All aborts are h<strong>and</strong>led locally, using Abort mode. Asynchronous aborts are maskable in both Secure<br />

<strong>and</strong> Non-secure states.<br />

1 1 All external aborts are trapped to Monitor mode. Non-secure state can hide asynchronous external<br />

aborts from the Monitor, by changing the CPSR.A bit.<br />

When the SCR.EA bit is set to 1, <strong>and</strong> an external abort causes entry to Monitor mode, fault information is<br />

written to the Secure copies of the Fault Status <strong>and</strong> Fault Address registers.<br />

Control of FIQs by the Security Extensions<br />

The CPSR.F bit can be used to disable FIQs. When the Security Extensions are implemented:<br />

the SCR.FW bit controls whether the CPSR.F bit can be modified in Non-secure state<br />

the SCR.FIQ bit controls whether FIQs are h<strong>and</strong>led in FIQ mode or Monitor mode.<br />

For details of these bits see c1, Secure Configuration Register (SCR) on page B3-106.<br />

Table B1-10 on page B1-43 shows the effect of these bits on FIQ h<strong>and</strong>ling:<br />

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

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

Saved successfully!

Ooh no, something went wrong!