Skip to main content

VCpuReg

Enum VCpuReg 

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

Corresponds to seL4_VCPUReg.

Variants§

§

SCTLR = 0

§

TTBR0 = 3

§

TTBR1 = 4

§

TCR = 2

§

MAIR = 5

§

AMAIR = 6

§

CIDR = 7

§

CPACR = 1

§

AFSR0 = 8

§

AFSR1 = 9

§

ESR = 10

§

FAR = 11

§

VBAR = 13

§

TPIDR_EL1 = 14

§

VMPIDR_EL2 = 15

§

SP_EL1 = 16

§

ELR_EL1 = 17

§

SPSR_EL1 = 18

§

CNTV_CTL = 21

§

CNTV_CVAL = 22

§

CNTVOFF = 23

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 UnsafeUnpin 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.