Newer
Older
AMI-Aptio-BIOS-Reversed / AmiModulePkg / TCG2 / Common / TcgSmm / TcgSmm.md
@Ajax Dong Ajax Dong 7 days ago 1020 bytes Recovering names

TcgSmm

Function Table

Address Name Description
Entry ModuleEntryPoint Calls SmiHandlerRegistrationAndProtocolInstall, then dispatches to TpmCommandAndEventProcessing(ImageHandle, SystemTable), invokes TcgErrorCleanup on failure, and returns status.
0x4CC SmiHandlerRegistrationAndProtocolInstall SMI handler registration and TCG protocol installation.
0x778 TpmCommandAndEventProcessing Core TPM command processing and TCG event management.
0x1988 TcgErrorCleanup Error handling and cleanup for failed TCG operations.

Recovered control flow (from decompiled body):

EFI_STATUS
ModuleEntryPoint(
  EFI_HANDLE        ImageHandle,
  EFI_SYSTEM_TABLE  *SystemTable
)
{
  SmiHandlerRegistrationAndProtocolInstall();
  Status = TpmCommandAndEventProcessing(ImageHandle, SystemTable);
  if (EFI_ERROR(Status)) {
    TcgErrorCleanup();
  }
  return Status;
}

Generated by HR650X BIOS Decompilation Project