#[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
impl RefUnwindSafe for Value
impl Send for Value
impl Sync for Value
impl Unpin for Value
impl UnwindSafe for Value
Blanket Implementations
sourceimpl<T> BorrowMut<T> for T where
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more