Newer
Older
AMI-Aptio-BIOS-Reversed / MdeModulePkg / Universal / Acpi / BootScriptExecutorDxe / README.md
@Ajax Dong Ajax Dong 2 days ago 1 KB Full restructure

BootScriptExecutorDxe

Index Module Size Phase
289 BootScriptExecutorDxe 56,960 bytes (55.6 KB) DXE

Overview

S3 Boot Script Executor DXE Driver responsible for replaying recorded S3 boot script entries during system resume from ACPI S3 sleep state. This module executes a sequence of I/O, memory, PCI configuration, SMBus, and stall operations that were previously recorded by the S3 Save State driver. It also includes full library linkages for SMM LockBox restore, base memory operations, PCI segment configuration, PE/COFF image support, and X64 CPU exception handling.

Key Functions

  • BootScriptDriverInit -- Main driver initialization; registers events, sets up boot script table pointers
  • ModuleEntryPoint -- UEFI module entry; calls BootScriptDriverInit
  • BootScriptExecuteTable -- Core boot script executor that walks and replays the script entry list
  • SmmLockBoxSaveLockBox / SmmLockBoxRestoreLockBox / SmmLockBoxSetAttributes -- SMM LockBox save/restore wrappers
  • CopyMem / SetMem / ZeroMem -- Base memory library routines
  • UefiBootServicesTableLibConstructor -- Constructor that populates EFI Boot Services table pointer
  • X64ExceptionDumpCpuContext -- X64 CPU exception context dump handler

Dependencies

UEFI Boot Services, UEFI Runtime Services, SMM LockBox Protocol, PCI Segment Library, PE/COFF Library, CPU Exception Handler Library, SMBus Library

Platform

Lenovo HR650X (Purley/LBG-PCH), X64