4.3.50. Virtualization Interrupt Register

The VIR characteristics are:

Purpose

Triggers a pending interrupt from software running on the processor.

Usage constraints

The VIR is:

  • only accessible in privileged modes

  • common to Secure and Non-secure state.

Configurations

Available in all configurations.

Attributes

See the register summary in Table 4.19.

Figure 4.43 shows the VIR bit assignments.

Figure 4.43. VIR bit assignments

To view this graphic, your browser must support the SVG format. Either install a browser with native support, or install an appropriate plugin such as Adobe SVG Viewer.


Table 4.64 shows the VIR bit assignments.

Table 4.64. VIR bit assignments

BitsNameDescription
[31:9]ReservedRAZ/WI.
[8]VA

Virtual Abort bit.

When set the virtual abort becomes pending when SCR.EA and VCR.AMO are b1.

The virtual abort exception happens only when the processor is in Non-secure state and the CPSR.A field is clear.

[7]VI

Virtual IRQ bit.

When set the virtual interrupt becomes pending when SCR.IRQ and VCR.IMO are b1.

The virtual interrupt exception happens only when the processor is in Non-secure state and the CPSR.I field is clear.

[6]VF

Virtual FIQ bit.

When set the virtual interrupt becomes pending when SCR.FIQ and VCR.FMO are b1.

The virtual interrupt exception happens only when the processor is in Non-secure state and the CPSR.F field is clear.

[5:0]ReservedRAZ/WI.

To access the VIR, use:

MRC p15, 0, <Rd>, c12, c1, 1 ; Read VIR Register
MCR p15, 0, <Rd>, c12, c1, 1 ; Write VIR Register

A virtual abort or interrupt becomes pending when the associated abort/interrupt field in the SCR {EA, IRQ, FIQ} is set and the appropriate VCR mask override field in the VCR {AMO, IMO, FMO} is also set. The actual virtual interrupt/abort exception is taken only when the CPU enters Non-secure state and can be masked using the CPSR {A,I,F} fields.

When a virtual abort is taken, the corresponding bit in the VIR is cleared automatically by hardware. When a virtual interrupt is taken, the corresponding bit in the VIR is not changed by hardware. For the purposes of WFE and WFI, virtual interrupts and aborts are treated in the same way as normal interrupts and aborts.

Copyright © 2009, 2010 ARM. All rights reserved.ARM DDI 0433B
Non-ConfidentialID101810