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

AMITSE

Index: 0277 | Size: 497.9 KB | Phase: DXE | Arch: X64

Overview

Aptio Setup Utility (TSE) -- the BIOS Setup menu UI driver by AMI. Implements the full graphical setup interface including menu navigation, boot option management, HDD security password enforcement, HII package installation, and callback dispatch for platform configuration. This is one of the largest DXE drivers in the HR650X BIOS, containing the menu database parser, video/text output rendering, and the AMITSE_PROTOCOL interface.

Key Functions

  • ModuleEntryPoint / TseDriverInit: Full initialization chain -- locates MmPciBase, installs HII package list, parses menu database from flash, initializes boot option callbacks, platform languages, hotkeys
  • TseParseMenuDatabase (0xF6D0): Parses the TSE menu database header/entries/formset/form/variable/option/default structures from flash
  • TseDisplaySetupPage: Renders setup menu pages using GraphicsOutput or SimpleTextOut protocols, with redraw and progress bar support
  • TseBootOptionsInit (0x2558): Initializes boot option management, reads/writes Boot#### variables, manages BootOrder, BootNext
  • TseForceHddPassword: Enumerates HDDs and applies password policy via ATA security commands and NVMe security protocols

Protocols/Dependencies

  • HII Database Protocol, HII Package List Protocol, GraphicsOutput Protocol, SimpleTextOut/In
  • PciIo Protocol, NvmExpressPassThru Protocol, LoadedImage Protocol, DriverHealth Protocol
  • MmPciBase, IPMI protocols (platform-specific)
  • UEFI Variables: Boot####, BootOrder, BootNext, Timeout, Setup variables

Platform

From AMI Aptio V UEFI BIOS Framework. Lenovo HR650X with fixed boot order, TCG Opal storage security, QuietBoot logo, and GPIO configuration support.