#[repr(u64)]pub enum Value {
EL0 = 0,
EL1 = 1,
EL2 = 2,
EL3 = 3,
}
Expand description
Current Exception level. Possible values of this field are:
00 EL0 01 EL1 10 EL2 11 EL3
When the HCR_EL2.NV bit is 1, Non-secure EL1 read accesses to the CurrentEL register return the value of 0x2 in this field.
This field resets to a value that is architecturally UNKNOWN.
Variants§
Trait Implementations§
source§impl PartialEq for Value
impl PartialEq for Value
source§impl TryFromValue<u64> for Value
impl TryFromValue<u64> for Value
impl Copy for Value
impl Eq 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§
source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more