[]Struct sunrise_kernel::devices::lapic::LocalApicVersion

#[repr(transparent)]pub struct LocalApicVersion(pub u32);

The version and associated metadata of a Local APIC are described by this struct.

See chapter 10.4.8: Local APIC Version Register

Implementations

impl LocalApicVersion

fn version(&self) -> u32

The version numbers of the local APIC:

  • 00H - 0FH: 82489DX discrete APIC.
  • 10H - 15H: Integrated APIC.

fn max_lvt_entry(&self) -> u32

Shows the number of LVT entries minus 1.

fn can_suppress_eoi_broadcast(&self) -> bool

Indicates whether software can inhibit the broadcast of EOI message by setting bit 12 of the Spurious Interrupt Vector Register.

Trait Implementations

impl<T> BitRange<T> for LocalApicVersion where
    u32: BitRange<T>, 

impl Clone for LocalApicVersion[src]

impl Copy for LocalApicVersion[src]

impl Debug for LocalApicVersion

Auto Trait Implementations

impl RefUnwindSafe for LocalApicVersion

impl Send for LocalApicVersion

impl Sync for LocalApicVersion

impl Unpin for LocalApicVersion

impl UnwindSafe for LocalApicVersion

Blanket Implementations

impl<T> Any for T where
    T: 'static + ?Sized
[src]

impl<T> Bit for T where
    T: BitRange<u8>, 

impl<T> Borrow<T> for T where
    T: ?Sized
[src]

impl<T> BorrowMut<T> for T where
    T: ?Sized
[src]

impl<T> From<T> for T[src]

impl<T, U> Into<U> for T where
    U: From<T>, 
[src]

impl<T> ToOwned for T where
    T: Clone
[src]

type Owned = T

The resulting type after obtaining ownership.

impl<T, U> TryFrom<U> for T where
    U: Into<T>, 
[src]

type Error = Infallible

The type returned in the event of a conversion error.

impl<T, U> TryInto<U> for T where
    U: TryFrom<T>, 
[src]

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

The type returned in the event of a conversion error.