Newer
Older
AMI-Aptio-BIOS-Reversed / TxtPei / LtPeiLockConfig.c
@Ajax Dong Ajax Dong 2 days ago 712 bytes Init
// Decompiled: 0xffe06ba6
// Function: LtPeiLockConfig
// Module: TxtPei.efi (TXTPEI)

int __thiscall LtPeiLockConfig(_DWORD *this)
{
  int v2; // ecx
  int v3; // ecx

  LtPeiLibInitialize(); /*0xffe06bab*/
  DebugPrint(64, "  Restoring TXTHeapMemoryAddress = 0x%08x... \n"); /*0xffe06bc5*/
  v2 = *(this + 5); /*0xffe06bca*/
  MEMORY[0xFED30300] = *(_DWORD *)(v2 + 32); /*0xffe06bd0*/
  MEMORY[0xFED30304] = *(_DWORD *)(v2 + 36); /*0xffe06bd5*/
  DebugPrint(64, "  Restoring TXTHeapMemorySize = 0x%08x... \n"); /*0xffe06beb*/
  v3 = *(this + 5); /*0xffe06bf0*/
  MEMORY[0xFED30308] = *(_DWORD *)(v3 + 40); /*0xffe06bf9*/
  MEMORY[0xFED3030C] = *(_DWORD *)(v3 + 44); /*0xffe06bfe*/
  return 0; /*0xffe06c03*/
}