Newer
Older
AMI-Aptio-BIOS-Reversed / AMITSE / AMITSE.md
@Ajax Dong Ajax Dong 2 days ago 4 KB Init

AMITSE

Function Table

Address Name Description
ModuleEntryPoint
TseDriverInit
TseMainEntry
TseInstallHiiPackages
TseFindAmitseSignature
TseParseMenuDatabase
TseInitMenuDefaults
TseBootOptionsInit
TseDrawBootMenu
TseDrawMenuPage
TseDrawMenuString
TseForceHddPassword
TseFreePool
DebugPrint
DebugAssert
TseGetDebugConOut
TseRegisterProtocolCallbacks
TseFindCallbackEntry
TseInvokeCallbackOrDirect
TseRunInitCallbacks
TseInitSetupVariable
TseInitPlatformLanguages
TseSetupTitleVersion
TseProcessSetupMenu
TseSetupHotkeyCallbacks
TseSendEnterSetupKey
TseSendProceedToBootKey
TseDrawProgressBar
TseDisplaySetupPage
TseDisplayPopupPage
TseDisplayErrorMessage
TseExitBootServicesHandler
TseRegisterResetNotification
TseSaveAndDisableWatchdog
TseRestoreDisplayState
TseProcessBootImages
TseCheckEfiShellPresent
TseSetupAfterBootHook
TseSetupDriverHealthHook
TseSetupLoadOptionHook
TseSetupBootNextHook
TseSetupNullHook
TseShowPopupMessage
TseDisplayWarningDialog
MODULE ENTRY POINT
DRIVER INITIALIZATION CHAIN
Locate DxeServicesTable
Locate MmPciBase
Save global system table pointers
Run pre-initialization callbacks
Install HII package list
Copy version string data
Initialize setup menu
Find AMITSE signature in FV files
Parse the menu database from flash
Initialize boot option callback infrastructure
Register "boot next" notification callback
Clear timeout
Initialize platform language support
Register protocol notifiers
Install notification events
Install AMITSE protocol as fallback
Scan for AMITSE signature in the file data
MENU DATABASE PARSING
Allocate TSE_MENU_STATE
Default width = 2
Default height = 3
Default rows = 21
BOOT OPTION MANAGEMENT
DISPLAY / MENU DRAWING
Implementation writes to VGA text buffer at
SECURITY / PASSWORD
Enumerate HDDs, apply password policy
UTILITY FUNCTIONS
Internal debug print via VPrint
Calls TseGetDebugConOut then prints assert info
CALLBACK / EVENT MANAGEMENT
Install AMITSE protocol fallback
SETUP VARIABLE MANAGEMENT
Set up variable services
LANGUAGE / LOCALIZATION
Retrieves a localized string from HII
Look up token in HII database
TITLE / VERSION SETUP
Parse version components
SETUP MENU HOTKEYS AND EVENTS
DISPLAY MANAGEMENT
Allocate back/front buffers
HDD SECURITY (AMI TSE HDD SECURITY)
Walk child handles for Block IO
EXIT BOOT SERVICES / SHUTDOWN
Flush console
Register for ResetSystem callback
Save and disable OS watchdog
Restore console state
FIXED BOOT ORDER (LENOVO-SPECIFIC)
The FixedBootOrder subsystem is implemented in a separate
set of functions that manage:
TCG STORAGE SECURITY (OPAL)
The TCG storage security functions manage:
Reference string: "TCGPasswordCheck", "OPAL device count = %x"
QUIET BOOT LOGO
The QuietBoot subsystem handles:
DRIVER HEALTH
The Driver Health subsystem:
GPIO CONFIGURATION
GPIO pad configuration with debug checks:
NVME / STORAGE BOOT
NVMe boot device detection via
OS WATCHDOG MANAGEMENT
The OS WDT functions manage the OS watchdog timer:
LENOVO BOOT OPTION STRING MANAGEMENT
OEM UPDATE DEFAULTS HOOK
OEMUpdateDefaultsHook function sequence:
BOOT IMAGE PROCESSING
EFI SHELL DETECTION
SETUP PAGE NAVIGATION
CALLBACK TABLE HOOKS
POPUP MESSAGE DISPLAY

Generated by HR650X BIOS Decompilation Project