Newer
Older
AMI-Aptio-BIOS-Reversed / Volume_Top_File / README.md
@Ajax Dong Ajax Dong 2 days ago 1 KB Init

Volume_Top_File

Field Value
Index 425
Module Volume_Top_File
Size 24,772 bytes (PE32 .text: 12,416 / _TEXT_RE: 88 / _TEXTPR: 224 / STARTUP: 5,415 / .rodata: 6 / .rdata: 5,364 / .data: 385 / .reloc: 0)
Phase SEC
Functions ~147

Overview

Volume_Top_File implements the SEC (Security) phase and early PEI initialization for the Intel Purley platform. As the earliest executable code in the BIOS, it sets up cache-as-RAM (temporary RAM), configures CPU MTRRs, establishes protected-mode GDT and IDT with exception handlers, processes BIST results, locates and decompresses the PEI Core in the firmware volume, and transfers control to the PEI dispatcher. It is the most platform-architecture-sensitive module with 8 PE sections.

Key Functions

  • SecStartup / SecCoreEntryPoint -- SEC phase entry point chain
  • SecTemporaryRamStackInit -- Cache-as-RAM (Car) initialization
  • FindPeiCore -- Locates the PEI Core image in the firmware volume
  • PeiCoreEntryPoint -- Extracts and transfers control to the PEI Core
  • PeCoffImageRelocate -- Relocates the PE/COFF PEI Core image
  • SecBist -- Processes Built-In Self Test results for all CPU threads
  • InstallSecPpi -- Installs SEC-specific PPIs for the PEI phase

Dependencies

  • CPU MTRR/MSR registers
  • Firmware Volume (FV) HOB interface
  • PE/COFF image relocation library
  • Memory-mapped firmware flash
  • UEFI PI Specification (SEC-to-PEI handoff)

Platform

  • Architecture: IA32 (x86, PE32)
  • Subsystem: EFI Boot Service Driver (0x000B)
  • Machine: 0x014C (i386)
  • Build: DEBUG_VS2015 IA32
  • Characteristics: 0x2103 (relocatable stripped)