Newer
Older
AMI-Aptio-BIOS-Reversed / ServerCommonPkg / Universal / GetSec / Pei / TxtPei / LtPeiGetTxtVersion.c
@Ajax Dong Ajax Dong 2 days ago 499 bytes Restructure the repo
// Decompiled: 0xffe06b66
// Function: LtPeiGetTxtVersion
// Module: TxtPei.efi (TXTPEI)

int __thiscall LtPeiGetTxtVersion(int this)
{
  if ( *(_QWORD *)(*(_DWORD *)(this + 24) + 16) ) /*0xffe06b6c*/
  {
    LtPeiEnableMtrr((_BYTE *)this); /*0xffe06b74*/
    ApicWriteIcr(804096, 0); /*0xffe06b80*/
    LtPeiLibLaunchBiosAcm(this, 5); /*0xffe06b8a*/
  }
  else
  {
    DebugPrint(0x80000000, "Did not call ACM. The ACM module is not enabled ...\n"); /*0xffe06b9b*/
  }
  return 0; /*0xffe06ba4*/
}