| Field | Value |
|---|---|
| Index | 421 |
| Module | CPUInfo |
| Size | 4,516 bytes (PE32 .text: 1,776 / .rdata: 896 / .data: 1,115 / .reloc: 80) |
| Phase | PEI |
| Functions | ~21 |
CPUInfo provides CPU presence detection and topology information during the PEI phase. It reads CMOS register 0x4A to determine whether the CPU socket is populated, displays POST progress on the VGA text framebuffer at 0xB8000, and executes CPUID leaf 0x0B to enumerate processor topology (cores, threads, packages).
GetCpuPresenceStatus -- Reads CMOS 0x4A to detect CPU presenceDisplayPostProgress -- Writes progress codes to VGA text memoryGetCpuTopology -- Executes CPUID 0x0B to retrieve topology dataCpuInfoEntryPoint -- Main entry: dispatches CPU detection and display