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

You also want an ePaper? Increase the reach of your titles

YUMPU automatically turns print PDFs into web optimized ePapers that Google loves.

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

The reset value of the MVBAR is UNKNOWN. The MVBAR must be programmed as part of the boot<br />

sequence.<br />

Monitor_Vector_Base_Address, bits [31:5]<br />

Bits [31:5] of the base address of the exception vectors for exceptions that are h<strong>and</strong>led in<br />

Monitor mode. Bits [4:0] of an exception vector is the exception offset, see Table B1-3 on<br />

page B1-31.<br />

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

For details of how the MVBAR is used to determine the exception addresses see Exception vectors <strong>and</strong> the<br />

exception base address on page B1-30.<br />

Accessing the MVBAR<br />

To access the MVBAR you read or write the CP15 registers with set to 0, set to c12, set<br />

to c0, <strong>and</strong> set to 1. For example:<br />

MRC p15,0,,c12,c0,1 ; Read CP15 Monitor Vector Base Address Register<br />

MCR p15,0,,c12,c0,1 ; Write CP15 Monitor Vector Base Address Register<br />

B3.12.42 c12, Interrupt Status Register (ISR)<br />

The Interrupt Status Register, ISR, shows whether an IRQ, FIQ or external abort is pending.<br />

The ISR is:<br />

present only when the Security Extensions are implemented<br />

a 32-bit read-only register<br />

accessible only in privileged modes.<br />

a Common register, meaning it is available in the Secure <strong>and</strong> Non-secure states.<br />

The format of the ISR is:<br />

31 9 8 7 6 5 0<br />

UNK A I F (0) (0) (0) (0) (0) (0)<br />

Bits [31:9] Reserved, UNK.<br />

A, bit [8] External abort pending flag:<br />

0 no pending external abort<br />

1 an external abort is pending.<br />

I, bit [7] Interrupt pending flag. Indicates whether an IRQ interrupt is pending:<br />

0 no pending IRQ<br />

1 an IRQ interrupt is pending.<br />

B3-150 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!