sel4

Enum VCpuReg

Source
#[repr(u64)]
pub enum VCpuReg {
Show 23 variants SCTLR = 0, TTBR0 = 1, TTBR1 = 2, TCR = 3, MAIR = 4, AMAIR = 5, CIDR = 6, ACTLR = 7, CPACR = 8, AFSR0 = 9, AFSR1 = 10, ESR = 11, FAR = 12, ISR = 13, VBAR = 14, TPIDR_EL1 = 15, VMPIDR_EL2 = 16, SP_EL1 = 17, ELR_EL1 = 18, SPSR_EL1 = 19, CNTV_CTL = 20, CNTV_CVAL = 21, CNTVOFF = 22,
}
Expand description

Corresponds to seL4_VCPUReg.

Variants§

§

SCTLR = 0

§

TTBR0 = 1

§

TTBR1 = 2

§

TCR = 3

§

MAIR = 4

§

AMAIR = 5

§

CIDR = 6

§

ACTLR = 7

§

CPACR = 8

§

AFSR0 = 9

§

AFSR1 = 10

§

ESR = 11

§

FAR = 12

§

ISR = 13

§

VBAR = 14

§

TPIDR_EL1 = 15

§

VMPIDR_EL2 = 16

§

SP_EL1 = 17

§

ELR_EL1 = 18

§

SPSR_EL1 = 19

§

CNTV_CTL = 20

§

CNTV_CVAL = 21

§

CNTVOFF = 22

Implementations§

Source§

impl VCpuReg

Source

pub const fn into_sys(self) -> Type

Auto Trait Implementations§

§

impl Freeze for VCpuReg

§

impl RefUnwindSafe for VCpuReg

§

impl Send for VCpuReg

§

impl Sync for VCpuReg

§

impl Unpin for VCpuReg

§

impl UnwindSafe for VCpuReg

Blanket Implementations§

§

impl<T> Any for T
where T: 'static + ?Sized,

§

fn type_id(&self) -> TypeId

Gets the TypeId of self. Read more
§

impl<T> Borrow<T> for T
where T: ?Sized,

§

fn borrow(&self) -> &T

Immutably borrows from an owned value. Read more
§

impl<T> BorrowMut<T> for T
where T: ?Sized,

§

fn borrow_mut(&mut self) -> &mut T

Mutably borrows from an owned value. Read more
§

impl<T> From<T> for T

§

fn from(t: T) -> T

Returns the argument unchanged.

§

impl<T, U> Into<U> for T
where U: From<T>,

§

fn into(self) -> U

Calls U::from(self).

That is, this conversion is whatever the implementation of [From]<T> for U chooses to do.

§

impl<T, U> TryFrom<U> for T
where U: Into<T>,

§

type Error = Infallible

The type returned in the event of a conversion error.
§

fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

Performs the conversion.
§

impl<T, U> TryInto<U> for T
where U: TryFrom<T>,

§

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.
§

fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

Performs the conversion.