Go to the source code of this file.
LIB_API ApicId ApicIdFromContiguousId |
( |
size_t |
contiguousId | ) |
|
LIB_API ApicId ApicIdFromProcessor |
( |
size_t |
contiguousId | ) |
|
LIB_API bool AreApicIdsReliable |
( |
| ) |
|
LIB_API size_t ContiguousIdFromApicId |
( |
ApicId |
apicId | ) |
|
- Returns
- APIC ID of the currently executing processor or zero if the platform does not have an xAPIC (i.e. 7th generation x86 or below).
rationale: the alternative of accessing the APIC mmio registers is not feasible - mahaf_MapPhysicalMemory only works reliably on WinXP. we also don't want to interfere with the OS's constant use of the APIC registers.
Definition at line 33 of file apic.cpp.
LIB_API size_t ProcessorFromApicId |
( |
ApicId |
apicId | ) |
|