⚠️ VeridianOS Kernel Documentation - This is low-level kernel code. All functions are unsafe unless explicitly marked otherwise. no_std

CommonMsrs

Struct CommonMsrs 

Source
pub struct CommonMsrs;
Expand description

Common MSR indices for snapshot

Implementations§

Source§

impl CommonMsrs

Source

pub const IA32_EFER: u32 = 3_221_225_600u32

Source

pub const IA32_STAR: u32 = 3_221_225_601u32

Source

pub const IA32_LSTAR: u32 = 3_221_225_602u32

Source

pub const IA32_CSTAR: u32 = 3_221_225_603u32

Source

pub const IA32_FMASK: u32 = 3_221_225_604u32

Source

pub const IA32_FS_BASE: u32 = 3_221_225_728u32

Source

pub const IA32_GS_BASE: u32 = 3_221_225_729u32

Source

pub const IA32_KERNEL_GS_BASE: u32 = 3_221_225_730u32

Source

pub const IA32_TSC_AUX: u32 = 3_221_225_731u32

Source

pub const IA32_SYSENTER_CS: u32 = 372u32

Source

pub const IA32_SYSENTER_ESP: u32 = 373u32

Source

pub const IA32_SYSENTER_EIP: u32 = 374u32

Source

pub const IA32_PAT: u32 = 631u32

Source

pub const IA32_DEBUGCTL: u32 = 473u32

Source

pub const IA32_APIC_BASE: u32 = 27u32

Auto Trait Implementations§

§

impl Freeze for CommonMsrs

§

impl RefUnwindSafe for CommonMsrs

§

impl Send for CommonMsrs

§

impl Sync for CommonMsrs

§

impl Unpin for CommonMsrs

§

impl UnwindSafe for CommonMsrs

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.