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

LapicRegs

Struct LapicRegs 

Source
pub struct LapicRegs;
Expand description

Virtual LAPIC register offsets

Implementations§

Source§

impl LapicRegs

Source

pub const ID: u32 = 32u32

Source

pub const VERSION: u32 = 48u32

Source

pub const TPR: u32 = 128u32

Source

pub const APR: u32 = 144u32

Source

pub const PPR: u32 = 160u32

Source

pub const EOI: u32 = 176u32

Source

pub const RRD: u32 = 192u32

Source

pub const LDR: u32 = 208u32

Source

pub const DFR: u32 = 224u32

Source

pub const SVR: u32 = 240u32

Source

pub const ISR_BASE: u32 = 256u32

Source

pub const TMR_BASE: u32 = 384u32

Source

pub const IRR_BASE: u32 = 512u32

Source

pub const ESR: u32 = 640u32

Source

pub const ICR_LOW: u32 = 768u32

Source

pub const ICR_HIGH: u32 = 784u32

Source

pub const LVT_TIMER: u32 = 800u32

Source

pub const LVT_THERMAL: u32 = 816u32

Source

pub const LVT_PERFMON: u32 = 832u32

Source

pub const LVT_LINT0: u32 = 848u32

Source

pub const LVT_LINT1: u32 = 864u32

Source

pub const LVT_ERROR: u32 = 880u32

Source

pub const TIMER_INITIAL_COUNT: u32 = 896u32

Source

pub const TIMER_CURRENT_COUNT: u32 = 912u32

Source

pub const TIMER_DIVIDE_CONFIG: u32 = 992u32

Auto Trait Implementations§

§

impl Freeze for LapicRegs

§

impl RefUnwindSafe for LapicRegs

§

impl Send for LapicRegs

§

impl Sync for LapicRegs

§

impl Unpin for LapicRegs

§

impl UnwindSafe for LapicRegs

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.