[]Struct sunrise_kernel::devices::lapic::SpuriousInterrupt

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

See chapter 10.9: Spurious Interrupt

Implementations

impl SpuriousInterrupt

fn spurious_vector(&self) -> u32

Determines the vector number to be delivered to the processor when the local APIC generates a spurious vector.

fn set_spurious_vector(&mut self, value: u32)

Determines the vector number to be delivered to the processor when the local APIC generates a spurious vector.

fn apic_software_enable(&self) -> bool

Allows software to temporarily enable (1) or disable (0) the local APIC.

See Section 10.4.3, Enabling or Disabling the Local APIC.

fn set_apic_software_enable(&mut self, value: bool)

Allows software to temporarily enable (1) or disable (0) the local APIC.

See Section 10.4.3, Enabling or Disabling the Local APIC.

fn focus_processor_checking(&self) -> bool

Determines if focus processor checking is enabled when using the lowest-priority delivery mode. In Pentium 4 and Intel Xeon processors, this bit is reserved and should be cleared to 0.

fn suppress_eoi_broadcast(&self) -> bool

Determines whether an EOI for a level-triggered interrupt causes EOI messages to be broadcast to the I/O APICs or not. The default value for this bit is false, indicating that EOI broadcasts are performed. This bit is reserved to false if the processor does not support EOI-broadcast suppression.

See chapter 10.8.5 Signaling Interrupt Servicing Completion

fn set_suppress_eoi_broadcast(&mut self, value: bool)

Determines whether an EOI for a level-triggered interrupt causes EOI messages to be broadcast to the I/O APICs or not. The default value for this bit is false, indicating that EOI broadcasts are performed. This bit is reserved to false if the processor does not support EOI-broadcast suppression.

See chapter 10.8.5 Signaling Interrupt Servicing Completion

Trait Implementations

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

impl Clone for SpuriousInterrupt[src]

impl Copy for SpuriousInterrupt[src]

impl Debug for SpuriousInterrupt

Auto Trait Implementations

impl RefUnwindSafe for SpuriousInterrupt

impl Send for SpuriousInterrupt

impl Sync for SpuriousInterrupt

impl Unpin for SpuriousInterrupt

impl UnwindSafe for SpuriousInterrupt

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.