#[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

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.