Tcg12ConfigPei.inf 1.5 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556
  1. ## @file
  2. # Set TPM device type - supports TPM 1.2 and 2.0
  3. #
  4. # In SecurityPkg, this module initializes the TPM device type based on a UEFI
  5. # variable and/or hardware detection. In OvmfPkg, the module only performs TPM
  6. # hardware detection.
  7. #
  8. # Copyright (c) 2015 - 2016, Intel Corporation. All rights reserved.<BR>
  9. # Copyright (C) 2018, Red Hat, Inc.
  10. #
  11. # SPDX-License-Identifier: BSD-2-Clause-Patent
  12. ##
  13. [Defines]
  14. INF_VERSION = 0x00010005
  15. BASE_NAME = Tcg2ConfigPei
  16. FILE_GUID = 8AD3148F-945F-46B4-8ACD-71469EA73945
  17. MODULE_TYPE = PEIM
  18. VERSION_STRING = 1.0
  19. ENTRY_POINT = Tcg2ConfigPeimEntryPoint
  20. [Sources]
  21. Tcg2ConfigPeim.c
  22. Tpm12Support.h
  23. Tpm12Support.c
  24. [Packages]
  25. MdePkg/MdePkg.dec
  26. MdeModulePkg/MdeModulePkg.dec
  27. OvmfPkg/OvmfPkg.dec
  28. SecurityPkg/SecurityPkg.dec
  29. [LibraryClasses]
  30. PeimEntryPoint
  31. DebugLib
  32. PeiServicesLib
  33. Tpm2DeviceLib
  34. BaseLib
  35. Tpm12DeviceLib
  36. [Guids]
  37. gEfiTpmDeviceSelectedGuid ## PRODUCES ## GUID # Used as a PPI GUID
  38. gEfiTpmDeviceInstanceTpm20DtpmGuid ## SOMETIMES_CONSUMES
  39. gEfiTpmDeviceInstanceTpm12Guid ## SOMETIMES_CONSUMES
  40. [Ppis]
  41. gPeiTpmInitializationDonePpiGuid ## SOMETIMES_PRODUCES
  42. [Pcd]
  43. gEfiSecurityPkgTokenSpaceGuid.PcdTpmInstanceGuid ## PRODUCES
  44. [Depex.IA32, Depex.X64]
  45. gOvmfTpmMmioAccessiblePpiGuid
  46. [Depex.ARM, Depex.AARCH64]
  47. gOvmfTpmDiscoveredPpiGuid