pub struct Icr(/* private fields */);
Expand description
Abstract the IPI control register
Implementations§
Source§impl Icr
impl Icr
Sourcepub fn for_x2apic(
vector: u8,
destination: ApicId,
destination_shorthand: DestinationShorthand,
delivery_mode: DeliveryMode,
destination_mode: DestinationMode,
delivery_status: DeliveryStatus,
level: Level,
trigger_mode: TriggerMode,
) -> Icr
pub fn for_x2apic( vector: u8, destination: ApicId, destination_shorthand: DestinationShorthand, delivery_mode: DeliveryMode, destination_mode: DestinationMode, delivery_status: DeliveryStatus, level: Level, trigger_mode: TriggerMode, ) -> Icr
Short-hand to create a Icr value that will work for an x2APIC controller.
pub fn for_xapic( vector: u8, destination: ApicId, destination_shorthand: DestinationShorthand, delivery_mode: DeliveryMode, destination_mode: DestinationMode, delivery_status: DeliveryStatus, level: Level, trigger_mode: TriggerMode, ) -> Icr
Trait Implementations§
impl Eq for Icr
impl StructuralPartialEq for Icr
Auto Trait Implementations§
impl Freeze for Icr
impl RefUnwindSafe for Icr
impl Send for Icr
impl Sync for Icr
impl Unpin for Icr
impl UnwindSafe for Icr
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