Go to the source code of this file.
ApicId ApicIdFromContiguousId |
( |
size_t |
contiguousId | ) |
|
static ApicId ApicIdFromIndex |
( |
const ApicId * |
apicIds, |
|
|
size_t |
index |
|
) |
| |
|
static |
ApicId ApicIdFromProcessor |
( |
size_t |
processor | ) |
|
bool AreApicIdsReliable |
( |
| ) |
|
size_t ContiguousIdFromApicId |
( |
ApicId |
apicId | ) |
|
static Status GetAndValidateApicIds |
( |
| ) |
|
|
static |
- 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.
static size_t IndexFromApicId |
( |
const ApicId * |
apicIds, |
|
|
ApicId |
apicId |
|
) |
| |
|
static |
size_t ProcessorFromApicId |
( |
ApicId |
apicId | ) |
|