#[repr(u64)]
pub enum Value {
EL0t,
EL1t,
EL1h,
EL2t,
EL2h,
}
Expand description
AArch64 state (Exception level and selected SP) that an exception was taken from. The possible values are:
M[3:0] | State
0b0000 | EL0t 0b0100 | EL1t 0b0101 | EL1h 0b1000 | EL2t 0b1001 | EL2h
Other values are reserved, and returning to an Exception level that is using AArch64 with a reserved value in this field is treated as an illegal exception return.
The bits in this field are interpreted as follows:
- M[3:2] holds the Exception Level.
- M[1] is unused and is RES 0 for all non-reserved values.
- M[0] is used to select the SP:
- 0 means the SP is always SP0.
- 1 means the exception SP is determined by the EL.
Variants
EL0t
EL1t
EL1h
EL2t
EL2h
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