#[repr(u64)]
pub enum Value {
LittleEndian,
BigEndian,
}
Expand description
Endianness of data accesses at EL0.
0 Explicit data accesses at EL0 are little-endian.
1 Explicit data accesses at EL0 are big-endian.
If an implementation only supports Little-endian accesses at EL0 then this bit is RES 0. This option is not permitted when SCTLR_EL1.EE is RES 1.
If an implementation only supports Big-endian accesses at EL0 then this bit is RES 1. This option is not permitted when SCTLR_EL1.EE is RES 0.
This bit has no effect on the endianness of LDTR , LDTRH , LDTRSH , LDTRSW , STTR , and STTRH instructions executed at EL1.
When ARMv8.1-VHE is implemented, and the value of HCR_EL2.{E2H, TGE} is {1, 1}, this bit has no effect on execution at EL0.
Variants
LittleEndian
BigEndian
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