#[repr(C, packed(1))]pub struct ProcessorLocalAPICAffinity {
pub type: u8,
pub length: u8,
pub proximity_domain_7_0: u8,
pub apic_id: u8,
pub flags: ProcessorLocalAPICAffinityFlags,
pub local_sapic_eid: u8,
pub proximity_domain_31_8: [u8; 3],
pub clock_domain: u32,
}Expand description
§Processor Local APIC/SAPIC Affinity Structure
The Processor Local APIC/SAPIC Affinity structure provides the association between the APIC ID or SAPIC ID/EID of a processor and the proximity domain to which the processor belongs.
Fields§
§type: u80 - Processor Local APIC/SAPIC Affinity Structure
length: u816
proximity_domain_7_0: u8Bit [[7:0]] of the proximity domain to which the processor belongs.
apic_id: u8The processor local APIC ID.
flags: ProcessorLocalAPICAffinityFlagsFlags for the Processor Local APIC/SAPIC Affinity Structure.
local_sapic_eid: u8The processor local SAPIC EID.
proximity_domain_31_8: [u8; 3]Bit [[31:8]] of the proximity domain to which the processor belongs.
clock_domain: u32The clock domain to which the processor belongs. See _CDM (Clock Domain).
Trait Implementations§
Source§impl Clone for ProcessorLocalAPICAffinity
impl Clone for ProcessorLocalAPICAffinity
Source§fn clone(&self) -> ProcessorLocalAPICAffinity
fn clone(&self) -> ProcessorLocalAPICAffinity
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreimpl Copy for ProcessorLocalAPICAffinity
Auto Trait Implementations§
impl Freeze for ProcessorLocalAPICAffinity
impl RefUnwindSafe for ProcessorLocalAPICAffinity
impl Send for ProcessorLocalAPICAffinity
impl Sync for ProcessorLocalAPICAffinity
impl Unpin for ProcessorLocalAPICAffinity
impl UnwindSafe for ProcessorLocalAPICAffinity
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