#[repr(u64)]
pub enum Value {
Disable,
Enable,
}
Expand description
Alignment check enable. This is the enable bit for Alignment fault checking at EL2 and, when EL2 is enabled in the current Security state and HCR_EL2.{E2H, TGE} == {1, 1}, EL0.
Instructions that load or store one or more registers, other than load/store exclusive and load-acquire/store-release, will or will not check that the address being accessed is aligned to the size of the data element(s) being accessed depending on this flag.
Load/store exclusive and load-acquire/store-release instructions have an alignment check regardless of the value of the A bit.
Variants
Disable
Enable
Trait Implementations
sourceimpl TryFromValue<u64> for Value
impl TryFromValue<u64> for Value
impl Copy for Value
impl Eq for Value
impl StructuralEq for Value
impl StructuralPartialEq for Value
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 Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
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