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.

Virtual Memory System <strong>Architecture</strong> (VMSA)<br />

F, bit [7] Fast interrupt pending flag. Indicates whether an FIQ fast interrupt is pending:<br />

0 no pending FIQ<br />

1 an FIQ fast interrupt is pending.<br />

Bits [5:0] Reserved, UNK/SBZP.<br />

The bit positions of the A, I <strong>and</strong> F flags in the ISR match the A, I <strong>and</strong> F flag bits in the CPSR, see Program<br />

Status Registers (PSRs) on page B1-14. This means the same masks can be used to extract the flags from<br />

the register value.<br />

Note<br />

The ISR.F <strong>and</strong> ISR.I bits directly reflect the state of the FIQ <strong>and</strong> IRQ inputs.<br />

the ISR.A bit is set when an asynchronous abort is generated <strong>and</strong> is cleared automatically when the<br />

abort is taken.<br />

Accessing the ISR<br />

To access the ISR you read the CP15 registers with set to 0, set to c12, set to c1, <strong>and</strong><br />

set to 0. For example:<br />

MRC p15,0,,c12,c1,0 ; Read Interrupt Status Register<br />

B3.12.43 CP15 c13, Process, context <strong>and</strong> thread ID registers<br />

The CP15 c13 registers are used for:<br />

a Context ID register<br />

three software Thread ID registers<br />

an FCSE Process ID Register.<br />

Note<br />

From <strong>ARM</strong>v6, use of the FCSE is a deprecated, <strong>and</strong> in <strong>ARM</strong>v7 the FCSE is an optional component of a<br />

VMSA implementation. <strong>ARM</strong> expects the FCSE will become obsolete during the lifetime of <strong>ARM</strong>v7.<br />

However, every <strong>ARM</strong>v7-A implementation must include the FCSE Process ID Register.<br />

Figure B3-25 on page B3-152 shows the CP15 c13 registers:<br />

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

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

Saved successfully!

Ooh no, something went wrong!