Enum apic::LapicIpiDestination
source · pub enum LapicIpiDestination {
One(ApicId),
Me,
All,
AllButMe,
}
Expand description
The possible destination shorthand values for IPI ICR.
See Intel manual Figure 10-28, Vol. 3A, 10-45. (PDF page 3079)
Variants§
One(ApicId)
Send IPI to a specific APIC
Me
Send IPI to my own (the current) APIC
All
Send IPI to all APICs, including myself
AllButMe
Send IPI to all APICs except for myself
Implementations§
source§impl LapicIpiDestination
impl LapicIpiDestination
sourcepub fn as_icr_value(&self) -> u64
pub fn as_icr_value(&self) -> u64
Convert the enum to a bitmask value to be used in the interrupt command register
Auto Trait Implementations§
impl RefUnwindSafe for LapicIpiDestination
impl Send for LapicIpiDestination
impl Sync for LapicIpiDestination
impl Unpin for LapicIpiDestination
impl UnwindSafe for LapicIpiDestination
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