#[repr(u64)]
pub enum Value {
EnableTrapPointerAuthInstToEl2,
DisableTrapPointerAuthInstToEl2,
}
Expand description
Controls the use of instructions related to Pointer Authentication:
- In EL0, when HCR_EL2.TGE==0 or HCR_EL2.E2H==0, and the associated SCTLR_EL1.En
==1. - In EL1, the associated SCTLR_EL1.En
==1.
Traps are reported using EC syndrome value 0x09. The Pointer Authentication instructions trapped are:
AUTDA, AUTDB, AUTDZA, AUTDZB, AUTIA, AUTIA1716, AUTIASP, AUTIAZ, AUTIB, AUTIB1716,
AUTIBSP, AUTIBZ, AUTIZA, AUTIZB, PACGA, PACDA, PACDB, PACDZA, PACDZB, PACIA,
PACIA1716, PACIASP, PACIAZ, PACIB, PACIB1716, PACIBSP, PACIBZ, PACIZA, PACIZB.
RETAA, RETAB, BRAA, BRAB, BLRAA, BLRAB, BRAAZ, BRABZ, BLRAAZ, BLRABZ.
ERETAA, ERETAB, LDRAA, and LDRAB.
Variants
EnableTrapPointerAuthInstToEl2
DisableTrapPointerAuthInstToEl2
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