Enum x86::apic::ApicId [−][src]
Expand description
Encodes the id of a core.
Variants
XApic(u8)
Tuple Fields
0: u8
A core destination encoded as an xAPIC ID.
X2Apic(u32)
Tuple Fields
0: u32
A core destination encoded as an x2APIC ID.
Implementations
Returns the Logical x2APIC ID.
In x2APIC mode, the 32-bit logical x2APIC ID, which can be read from LDR, is derived from the 32-bit local x2APIC ID: Logical x2APIC ID = [(x2APIC ID[19:4] « 16) | (1 « x2APIC ID[3:0])]
Returns the logical address relative to a cluster for a given APIC ID (assuming x2APIC addressing).
Returns the cluster ID a given APIC ID belongs to (assuming x2APIC addressing).