#[repr(u64)]
pub enum Value {
    DisableVirtualIRQ,
    EnableVirtualIRQ,
}
Expand description

Physical IRQ Routing.

If this bit is 0:

  • When executing at Exception levels below EL2, and EL2 is enabled in the current Security state:
    • When the value of HCR_EL2.TGE is 0, Physical IRQ interrupts are not taken to EL2.
    • When the value of HCR_EL2.TGE is 1, Physical IRQ interrupts are taken to EL2 unless they are routed to EL3.
    • Virtual IRQ interrupts are disabled.

If this bit is 1:

  • When executing at any Exception level, and EL2 is enabled in the current Security state:
    • Physical IRQ interrupts are taken to EL2, unless they are routed to EL3.
    • When the value of HCR_EL2.TGE is 0, then Virtual IRQ interrupts are enabled.

If EL2 is enabled in the current Security state, and the value of HCR_EL2.TGE is 1:

  • Regardless of the value of the IMO bit, physical IRQ Interrupts target EL2 unless they are routed to EL3.
  • When FEAT_VHE is not implemented, or if HCR_EL2.E2H is 0, this field behaves as 1 for all purposes other than a direct read of the value of this bit.
  • When FEAT_VHE is implemented and HCR_EL2.E2H is 1, this field behaves as 0 for all purposes other than a direct read of the value of this bit.

For more information, see ‘Asynchronous exception routing’.

Variants

DisableVirtualIRQ

EnableVirtualIRQ

Trait Implementations

Auto Trait Implementations

Blanket Implementations

Gets the TypeId of self. Read more

Immutably borrows from an owned value. Read more

Mutably borrows from an owned value. Read more

Returns the argument unchanged.

Calls U::from(self).

That is, this conversion is whatever the implementation of From<T> for U chooses to do.

The type returned in the event of a conversion error.

Performs the conversion.

The type returned in the event of a conversion error.

Performs the conversion.