/* It will ASSERT() if that operation fails and it will always return EFI_SUCCESS. */
EFI_STATUS Tcg2PhysicalPresenceLibCommonConstructor(VOID)
/* It will ASSERT() if that operation fails and it will always return EFI_SUCCESS. */
EFI_STATUS Tcg2PhysicalPresenceLibCommonConstructor(VOID)
{
  EFI_STATUS  Status;
  if (AsciiStrnCmp (PP_INF_VERSION_1_2, (CHAR8 *)PcdGetPtr (PcdTcgPhysicalPresenceInterfaceVer), sizeof (PP_INF_VERSION_1_2) - 1) >= 0) {
    mIsTcg2PPVerLowerThan_1_3 = TRUE;
  }
  Status = gMmst->MmLocateProtocol (&gEfiSmmVariableProtocolGuid, NULL, (VOID **)&mTcg2PpSmmVariable);
  ASSERT_EFI_ERROR (Status);
  mTcg2PhysicalPresenceFlags = PcdGet32 (PcdTcg2PhysicalPresenceFlags);
  return EFI_SUCCESS;
}