pub struct LocalInterruptController(/* private fields */);
Expand description
Struct representing a per-CPU interrupt controller chip.
On x86_64, this corresponds to a LocalApic.
Implementations§
Trait Implementations§
source§impl LocalInterruptControllerApi for LocalInterruptController
impl LocalInterruptControllerApi for LocalInterruptController
source§fn id(&self) -> LocalInterruptControllerId
fn id(&self) -> LocalInterruptControllerId
Returns the unique ID of this local interrupt controller.
source§fn enable_local_timer_interrupt(&self, enable: bool)
fn enable_local_timer_interrupt(&self, enable: bool)
Enables or disables the local timer interrupt for this local interrupt controller.
source§fn send_ipi(&self, num: InterruptNumber, dest: InterruptDestination)
fn send_ipi(&self, num: InterruptNumber, dest: InterruptDestination)
Sends an inter-processor interrupt from this local interrupt controller
to the given destination.
source§fn end_of_interrupt(&self, _number: InterruptNumber)
fn end_of_interrupt(&self, _number: InterruptNumber)
Tells this local interrupt controller that the interrupt being currently serviced
has been completely handled.
Auto Trait Implementations§
impl !RefUnwindSafe for LocalInterruptController
impl Send for LocalInterruptController
impl Sync for LocalInterruptController
impl Unpin for LocalInterruptController
impl !UnwindSafe for LocalInterruptController
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