| AmiCRBPkg | 2 days ago | ||
| AmiChipsetModulePkg/Library/AmiCspLib/ PciTableInit | 2 days ago | ||
| AmiCompatibilityPkg | 2 days ago | ||
| AmiCryptoPkg | 2 days ago | ||
| AmiIntelCpuPkg/Microcode/ MicrocodeUpdate | 2 days ago | ||
| AmiIpmiPkg/ Ipmi | 2 days ago | ||
| AmiModulePkg | 2 days ago | ||
| AmiNetworkPkg | 2 days ago | ||
| AmiTsePkg/EDK/MiniSetup/ AMITSE | 2 days ago | ||
| Build/ GuidArtifacts | 2 days ago | ||
| CpPlatPkg | 2 days ago | ||
| CpRcPkg | 2 days ago | ||
| FatPkg/ EnhancedFatDxe | 2 days ago | ||
| IntelFrameworkModulePkg/Universal/CpuIoDxe/ CpuIoDxe | 2 days ago | ||
| LenovoServerPkg | 2 days ago | ||
| MdeModulePkg | 2 days ago | ||
| MdePkg/ Library | 2 days ago | ||
| PcAtChipsetPkg | 2 days ago | ||
| PurleyPlatPkg | 2 days ago | ||
| PurleyRpPkg | 2 days ago | ||
| PurleySktPkg | 2 days ago | ||
| ServerCommonPkg/Universal/ GetSec | 2 days ago | ||
| ShellPkg/Application/ Shell | 2 days ago | ||
| UefiCpuPkg | 2 days ago | ||
| docs | 2 days ago | ||
| tools | 2 days ago | ||
| uefi_headers | 2 days ago | ||
| README.md | 2 days ago | ||
This tree is a cleaned extraction of Lenovo HR650X / Intel Purley AMI UEFI BIOS
modules. It is not a normal vendor source checkout: most directories are
recovered firmware modules with decompiled C, reconstructed headers, IDA
metadata, and analyst-written notes.
The top level is intentionally flat. Each module directory usually contains:
| Artifact | Meaning |
|---|---|
<Module>.c |
Decompiled implementation, often with synthetic names such as sub_1234. |
<Module>.h |
Reconstructed types, globals, GUIDs, structures, and prototypes. |
<Module>.md |
Module-specific notes or decompiler output notes. |
README.md |
Human summary of phase, purpose, key functions, dependencies, and platform context. |
*.i64, *.idb, *.id0, *.id1, *.id2, *.nam, *.til |
IDA database artifacts. Keep these with the module that generated them. |
*.json, *.csv, *.txt |
Function inventories, manifests, or analysis sidecars. |
Common UEFI phase and role markers in directory names:
Pei / PEI: Pre-EFI Initialization modules.Dxe / DXE: Driver Execution Environment modules.Smm / SMM: System Management Mode modules.Ppi: PEI-to-PEI interfaces.Setup, Sku, Slot, Oprom, UsbOc, IioCfg, SmbiosDataUpdate: board,Important anchor modules include:
DxeCore/: DXE foundation, protocol database, dispatcher, memory services,PeiCore/ and DxeIpl/: early boot core and transition into DXE.PiSmmCore/, PiSmmIpl/, and PiSmmCpuDxeSmm/: SMM infrastructure.Setup/, AMITSE/, ServerMgmtSetup/, and related SetupConfigUpdate*Platform*, Lnv*, SystemBoard*, Oem*, and Sps*: platform and vendorTcg*, Tpm*, SecureBootDXE/, and BootGuardPei/: measured boot,Ip*, TcpDxe/, Udp*, Dhcp*, Http*, Tls*, MnpDxe/, SnpDxe/:Treat module source as reverse-engineering evidence. Prefer small, reversible
readability improvements and keep provenance visible.
README.md, <Module>.md, and any sidecar inventoriesRun the read-only tree audit from the repository root:
python3 tools/bios_tree_audit.py
The audit prints module counts, artifact counts, phase-name buckets, and modules
that are missing common sidecar files. It does not modify the tree.
Recover original source-layout hints from debug/assert/PDB/source paths:
python3 tools/recover_original_layout.py \ --json-out docs/original_layout_evidence.json \ --markdown-out docs/original_layout_recovery.md
The recovery report groups flat extracted modules by the best package paths
visible in DEBUG_VS2015, AutoGen.c, PDB, and source-file evidence. Use it
to guide module-by-module cleanup before attempting any physical tree moves.