pub struct Icr(_);
Expand description
Abstract the IPI control register
Implementations
sourceimpl 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 StructuralEq for Icr
impl StructuralPartialEq for Icr
Auto Trait Implementations
impl RefUnwindSafe for Icr
impl Send for Icr
impl Sync for Icr
impl Unpin for Icr
impl UnwindSafe for Icr
Blanket Implementations
sourceimpl<T> BorrowMut<T> for T where
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more