AMI-Aptio-BIOS-Reversed / LenovoServerPkg / InventoryApp /
@Ajax Dong Ajax Dong authored 2 days ago
..
InventoryApp.c Recovering names (well, look still has huge cleanups) 2 days ago
InventoryApp.h Recovering names (well, look still has huge cleanups) 2 days ago
InventoryApp.md Full restructure 2 days ago
README.md Full restructure 2 days ago
README.md

InventoryApp

Index Module Size Phase
0251 InventoryApp 20,896 bytes DXE (UEFI Application)

InventoryApp is a UEFI shell-based system inventory diagnostic tool for Lenovo ThinkSystem servers. It locates the System Inventory Protocol (or BMC System Inventory Protocol via HOB) and dumps detailed inventory data for CPU, DIMM, PCIe, and HDD subsystems. The module defines a large SYSTEM_INVENTORY_PROTOCOL structure (3402 bytes) covering BIOS/ME version info, CPU topology, DIMM configuration, PCIe slot data, and HDD information.

Key Functions

  • _ModuleEntryPoint -- UEFI application entry point; locates protocol and dispatches inventory dump
  • sub_B60 -- Locates and opens the system inventory protocol
  • sub_8A0 -- Dumps BIOS/ME version information
  • sub_6C0 -- Dumps device inventory data by type (CPU/DIMM/PCIe/HDD)

Dependencies

  • UEFI Boot Services (gBS)
  • UEFI Runtime Services (gRT)
  • SystemInventoryProtocol (gSystemInventoryProtocolGuid)
  • BmcSystemInventoryProtocol (via HOB)
  • UefiBootServicesTableLib
  • UefiRuntimeServicesTableLib
  • PrintLib

Platform

  • Format: PE32+
  • Machine: x86-64
  • Subsystem: EFI Application (0x0A)
  • Sections: .text, .rdata, .data, section_3, .xdata
  • Author: Rush Wang (c) 2017 Lenovo