DxeTcgPhysicalPresenceLib.inf 2.1 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364
  1. ## @file
  2. # Executes pending TPM 1.2 requests from OS or BIOS and Locks TPM
  3. #
  4. # This library will check and execute TPM 1.2 request from OS or BIOS. The request may
  5. # ask for user confirmation before execution. This Library will also lock TPM physical
  6. # presence at last.
  7. #
  8. # Caution: This module requires additional review when modified.
  9. # This driver will have external input - variable.
  10. # This external input must be validated carefully to avoid security issue.
  11. #
  12. # Copyright (c) 2009 - 2018, Intel Corporation. All rights reserved.<BR>
  13. # SPDX-License-Identifier: BSD-2-Clause-Patent
  14. #
  15. ##
  16. [Defines]
  17. INF_VERSION = 0x00010005
  18. BASE_NAME = DxeTcgPhysicalPresenceLib
  19. MODULE_UNI_FILE = DxeTcgPhysicalPresenceLib.uni
  20. FILE_GUID = EBC43A46-34AC-4F07-A7F5-A5394619361C
  21. MODULE_TYPE = DXE_DRIVER
  22. VERSION_STRING = 1.0
  23. LIBRARY_CLASS = TcgPhysicalPresenceLib|DXE_DRIVER DXE_RUNTIME_DRIVER UEFI_APPLICATION UEFI_DRIVER
  24. CONSTRUCTOR = TcgPhysicalPresenceLibConstructor
  25. #
  26. # The following information is for reference only and not required by the build tools.
  27. #
  28. # VALID_ARCHITECTURES = IA32 X64 EBC
  29. #
  30. [Sources]
  31. DxeTcgPhysicalPresenceLib.c
  32. PhysicalPresenceStrings.uni
  33. [Packages]
  34. MdePkg/MdePkg.dec
  35. MdeModulePkg/MdeModulePkg.dec
  36. SecurityPkg/SecurityPkg.dec
  37. [LibraryClasses]
  38. MemoryAllocationLib
  39. UefiLib
  40. UefiBootServicesTableLib
  41. UefiDriverEntryPoint
  42. UefiRuntimeServicesTableLib
  43. BaseMemoryLib
  44. DebugLib
  45. PrintLib
  46. HiiLib
  47. TcgPpVendorLib
  48. [Protocols]
  49. gEfiTcgProtocolGuid ## SOMETIMES_CONSUMES
  50. gEdkiiVariableLockProtocolGuid ## SOMETIMES_CONSUMES
  51. [Guids]
  52. ## SOMETIMES_CONSUMES ## HII
  53. ## SOMETIMES_PRODUCES ## Variable:L"PhysicalPresence"
  54. ## SOMETIMES_CONSUMES ## Variable:L"PhysicalPresence"
  55. ## SOMETIMES_PRODUCES ## Variable:L"PhysicalPresenceFlags"
  56. ## SOMETIMES_CONSUMES ## Variable:L"PhysicalPresenceFlags"
  57. gEfiPhysicalPresenceGuid