pub fn get_apic_id(cpuid: impl Cpuid) -> u32
Returns the APIC ID - x2APIC if supported - associated with the logical processor in turn associated with the provided Cpuid.
Cpuid