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 Model2.12 Operating modesThere are eight modes of operation:• User mode is the usual <strong>ARM</strong> program execution state, and is used for executingmost application programs• Fast interrupt (FIQ) mode is used for handling fast interrupts• Interrupt (IRQ) mode is used for general-purpose interrupt handling• Supervisor mode is a protected mode for the OS• Abort mode is entered after a data abort or prefetch abort• System mode is a privileged user mode for the OS• Undefined mode is entered when an Undefined Instruction exception occurs• Monitor mode is a Secure mode for the Security Extensions Secure Monitor code.Modes other than User mode are collectively known as privileged modes. Privilegedmodes are used to service interrupts or exceptions, or to access protected resources.Table 2-8 shows the mode structure for the processor.Table 2-8 Mode structureModes Mode type Security state of coreNS bit = 1 NS bit = 0User User Nonsecure SecureFIQ Privileged Nonsecure SecureIRQ Privileged Nonsecure SecureSupervisor Privileged Nonsecure SecureAbort Privileged Nonsecure SecureUndefined Privileged Nonsecure SecureSystem Privileged Nonsecure SecureMonitor Privileged Secure Secure2-22 Copyright © 2006-2008 <strong>ARM</strong> Limited. All rights reserved. <strong>ARM</strong> DDI 0344E

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

Saved successfully!

Ooh no, something went wrong!