Newer
Older
AMI-Aptio-BIOS-Reversed / LenovoServerPkg / OemPlatformEarlyPhasePei / OemPlatformEarlyPhasePei.md
@Ajax Dong Ajax Dong 2 days ago 1004 bytes Full restructure

OemPlatformEarlyPhasePei

Function Table

Address Name Description
ModuleEntryPoint
ReportAssert
Forward declarations
Extract base from IDTR
Locate PPI in PEI services
No overlap: copy forwards aligned
Copy remaining bytes
Read CMOS register 0x6C (baud rate setting)
Write signature 0x55 to validate CMOS access
If CMOS write didn't stick, CMOS may be disabled
Restore original CMOS 0x6C value and read 0x5C
Locate PPI and get Setup variable
Baud rate mismatch - need to update CMOS
Warm reset in progress with specific indicator
9600 baud
115200 baud (default)
Sync CMOS and Setup values, then warm reset
Reset control port: warm reset
Halt while (TRUE);

Generated by HR650X BIOS Decompilation Project