[−]Struct sunrise_kernel::devices::lapic::LocalApicVersion
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>,
u32: BitRange<T>,
fn bit_range(&self, msb: usize, lsb: usize) -> T
fn set_bit_range(&mut self, msb: usize, lsb: usize, value: T)
impl Clone for LocalApicVersion
[src]
fn clone(&self) -> LocalApicVersion
[src]
fn clone_from(&mut self, source: &Self)
1.0.0[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]
T: 'static + ?Sized,
impl<T> Bit for T where
T: BitRange<u8>,
T: BitRange<u8>,
impl<T> Borrow<T> for T where
T: ?Sized,
[src]
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
[src]
T: ?Sized,
fn borrow_mut(&mut self) -> &mut T
[src]
impl<T> From<T> for T
[src]
impl<T, U> Into<U> for T where
U: From<T>,
[src]
U: From<T>,
impl<T> ToOwned for T where
T: Clone,
[src]
T: Clone,
type Owned = T
The resulting type after obtaining ownership.
fn to_owned(&self) -> T
[src]
fn clone_into(&self, target: &mut T)
[src]
impl<T, U> TryFrom<U> for T where
U: Into<T>,
[src]
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>
[src]
impl<T, U> TryInto<U> for T where
U: TryFrom<T>,
[src]
U: TryFrom<T>,