pub struct ApicWork {
pub init: bool,
pub sipi: Option<u8>,
pub extint: bool,
pub nmi: bool,
pub interrupt: Option<u8>,
}
Expand description
Work to do as a result of LocalApic::scan
or LocalApic::flush
.
Fields§
§init: bool
An INIT interrupt was requested.
Reset register state (including APIC state) as documented in the Intel manual.
sipi: Option<u8>
A SIPI interrupt was requested with the given vector.
Update the cs and rip to the appropriate values and clear the wait-for-SIPI state.
extint: bool
An extint interrupt was requested.
When the processor is ready for extint injection, query the PIC for the vector and inject the interrupt.
nmi: bool
An NMI was requested.
interrupt: Option<u8>
A fixed interrupt was requested.
Call LocalApic::acknowledge_interrupt
after it has been injected.
Trait Implementations§
Auto Trait Implementations§
impl Freeze for ApicWork
impl RefUnwindSafe for ApicWork
impl Send for ApicWork
impl Sync for ApicWork
impl Unpin for ApicWork
impl UnwindSafe for ApicWork
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more