[−][src]Enum cortex_a::regs::SPSR_EL1::M::Value
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
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
Trait Implementations
Auto Trait Implementations
Blanket Implementations
impl<T> Any for T where
T: 'static + ?Sized,
[src]
T: 'static + ?Sized,
impl<T> Borrow<T> for T where
T: ?Sized,
[src]
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
[src]
T: ?Sized,
pub fn borrow_mut(&mut self) -> &mut T
[src]
impl<T> From<T> for T
[src]
impl<T, U> Into<U> for T where
U: From<T>,
[src]
U: From<T>,
impl<T, U> TryFrom<U> for T where
U: Into<T>,
[src]
U: Into<T>,
type Error = Infallible
The type returned in the event of a conversion error.
pub fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>
[src]
impl<T, U> TryInto<U> for T where
U: TryFrom<T>,
[src]
U: TryFrom<T>,