| .. | |||
| BootMode.c | 7 days ago | ||
| BootMode.h | 7 days ago | ||
| BootMode.md | 7 days ago | ||
| README.md | 7 days ago | ||
| Field | Value |
|---|---|
| Index | 0374 |
| Module | BootMode |
| PE Size | 10,720 bytes |
| Phase | PEI (Pre-EFI Initialization) |
| Sections | .text / .rdata / .data / .reloc |
| Arch | IA-32 (0x014C) |
| SHA256 | c3c995a2fd598b6438d32af1cc0a58c0b4ce70cdf10e |
BootMode detects and reports the system boot mode during the PEI phase. It reads GPIO pads, PCI Express registers, and CMOS values to determine the boot path (normal, S3 resume, recovery, etc.). The module installs a PPI indicating the detected boot mode so that other PEIMs can adapt their behavior accordingly. It also handles wake type detection (Power Button, RTC, PCIE, etc.) by reading ACPI PM1 status registers.
Intel Purley platform, Lenovo HR650X server.