GetCpuCapabilities
function · os
- Address
0x429b90· 350 bytes, up to0x429ced- Meaning
- Returns the processor capability word from CPUID; 0x40 marks more than one core
- Confidence
- verified, proof one
- Finding
- core/time#multi-core-gate
Finding: Multi-core gate in core: time
The time manager's flag is bit 6 of the processor capability word: set only when CPUID's maximum
extended leaf is above 0x80000000, and then for a GenuineIntel processor whose maximum basic leaf
is at least 4 and whose leaf 4 EAX >> 24 is nonzero, or an AuthenticAMD one whose leaf
0x80000008 ECX low byte is nonzero: in practice more than one core. On such a processor the clock
never leaves GetTickCount, with scale exactly 1.0 and offset 0.
The derivation is in the doc.
Callers 4
- 0x429850 unassigned
- OsGetCpuCapabilities os
- SendBugReport net
- CMap::Initialize terrain
Callees 5
- strncmp crt
- ReadCpuid os
- 0x4299b0 unassigned
- 0x429a60 unassigned
- OsGetProcessorCount os
Calls and jumps by a bare address, from tables/calls.tsv.