Newer
Older
AMI-Aptio-BIOS-Reversed / LenovoServerPkg / POSTStatus / LnvPeiStatusCode / README.md
@Ajax Dong Ajax Dong 2 days ago 1 KB Restructure the repo

LnvPeiStatusCode

Field Value
Index 422
Module LnvPeiStatusCode
Size 1,956 bytes (PE32 .text: 536 / .rdata: 720 / .data: 17 / .reloc: 28)
Phase PEI
Functions ~10

Overview

LnvPeiStatusCode is a Lenovo-proprietary PEIM that provides status code reporting services during the PEI phase. It supplies memory manipulation primitives (set, copy, fill) used to format and deliver status code payloads. The module is minimal -- 536 bytes of .text -- reflecting its role as a thin wrapper around the PEI status code infrastructure.

Key Functions

  • SetMem / SetMem32 -- Memory fill helpers for status code buffers
  • CopyMem -- Overlapping-safe memory copy for payload assembly
  • FillDwordArray -- Dword-aligned array initialization

Dependencies

  • PEI Services
  • Status Code PPI (gEfiStatusCodePpiGuid)
  • Base Memory Library

Platform

  • Architecture: IA32 (x86, PE32)
  • Subsystem: EFI Boot Service Driver (0x000B)
  • Machine: 0x014C (i386)
  • Entry Point: 0x320