]> git.proxmox.com Git - mirror_edk2.git/blobdiff - SecurityPkg/Tcg/TrEEDxe/TrEEDxe.inf
Add TPM2 implementation.
[mirror_edk2.git] / SecurityPkg / Tcg / TrEEDxe / TrEEDxe.inf
diff --git a/SecurityPkg/Tcg/TrEEDxe/TrEEDxe.inf b/SecurityPkg/Tcg/TrEEDxe/TrEEDxe.inf
new file mode 100644 (file)
index 0000000..a1f1741
--- /dev/null
@@ -0,0 +1,91 @@
+## @file\r
+#  Component file for module TrEEDxe.\r
+#  This module will produce TrEE protocol and measure boot environment.\r
+#\r
+#  Caution: This module requires additional review when modified.\r
+#  This driver will have external input - PE/COFF image.\r
+#  This external input must be validated carefully to avoid security issue like\r
+#  buffer overflow, integer overflow.\r
+#\r
+# Copyright (c) 2013, Intel Corporation. All rights reserved.<BR>\r
+# This program and the accompanying materials\r
+# are licensed and made available under the terms and conditions of the BSD License\r
+# which accompanies this distribution. The full text of the license may be found at\r
+# http://opensource.org/licenses/bsd-license.php\r
+# THE PROGRAM IS DISTRIBUTED UNDER THE BSD LICENSE ON AN "AS IS" BASIS,\r
+# WITHOUT WARRANTIES OR REPRESENTATIONS OF ANY KIND, EITHER EXPRESS OR IMPLIED.\r
+#\r
+##\r
+\r
+[Defines]\r
+  INF_VERSION                    = 0x00010005\r
+  BASE_NAME                      = TrEEDxe\r
+  FILE_GUID                      = 2A7946E3-1AB2-49a9-ACCB-C6275139C1A5\r
+  MODULE_TYPE                    = DXE_DRIVER\r
+  VERSION_STRING                 = 1.0\r
+  ENTRY_POINT                    = DriverEntry\r
+\r
+#\r
+# The following information is for reference only and not required by the build tools.\r
+#\r
+#  VALID_ARCHITECTURES           = IA32 X64 IPF\r
+#\r
+\r
+[Sources]\r
+  TrEEDxe.c\r
+  MeasureBootPeCoff.c\r
+\r
+[Packages]\r
+  MdePkg/MdePkg.dec\r
+  MdeModulePkg/MdeModulePkg.dec\r
+  SecurityPkg/SecurityPkg.dec\r
+  CryptoPkg/CryptoPkg.dec\r
+\r
+[LibraryClasses]\r
+  MemoryAllocationLib\r
+  BaseLib\r
+  UefiBootServicesTableLib\r
+  HobLib\r
+  UefiDriverEntryPoint\r
+  UefiRuntimeServicesTableLib\r
+  BaseMemoryLib\r
+  DebugLib\r
+  Tpm2CommandLib\r
+  PrintLib\r
+  UefiLib\r
+  Tpm2DeviceLib\r
+  HashLib\r
+  PerformanceLib\r
+\r
+[Guids]\r
+  gEfiSmbiosTableGuid                           # ALWAYS_CONSUMED\r
+  gEfiGlobalVariableGuid                        # ALWAYS_CONSUMED\r
+  gTcgEventEntryHobGuid\r
+  gEfiEventReadyToBootGuid\r
+  gEfiEventExitBootServicesGuid\r
+  gEventExitBootServicesFailedGuid              # ALWAYS_CONSUMED\r
+  gEfiImageSecurityDatabaseGuid\r
+  gEfiTpmDeviceInstanceNoneGuid\r
+  gEfiTpmDeviceInstanceTpm12Guid\r
+\r
+[Protocols]\r
+  gEfiTrEEProtocolGuid                          ## PRODUCES\r
+  gEfiAcpiTableProtocolGuid                     # PROTOCOL ALWAYS_CONSUMED\r
+  gEfiDevicePathProtocolGuid                    # PROTOCOL ALWAYS_CONSUMED\r
+  gEfiMpServiceProtocolGuid                     # PROTOCOL ALWAYS_CONSUMED\r
+  gEfiVariableWriteArchProtocolGuid             # PROTOCOL ALWAYS_CONSUMED\r
+\r
+[Pcd]\r
+  gEfiSecurityPkgTokenSpaceGuid.PcdTpmPlatformClass\r
+  gEfiSecurityPkgTokenSpaceGuid.PcdFirmwareDebuggerInitialized\r
+  gEfiSecurityPkgTokenSpaceGuid.PcdTpmInstanceGuid\r
+  gEfiSecurityPkgTokenSpaceGuid.PcdTpmBaseAddress\r
+  gEfiMdeModulePkgTokenSpaceGuid.PcdAcpiDefaultOemId\r
+  gEfiMdeModulePkgTokenSpaceGuid.PcdAcpiDefaultOemTableId\r
+  gEfiMdeModulePkgTokenSpaceGuid.PcdAcpiDefaultOemRevision\r
+  gEfiMdeModulePkgTokenSpaceGuid.PcdAcpiDefaultCreatorId\r
+  gEfiMdeModulePkgTokenSpaceGuid.PcdAcpiDefaultCreatorRevision\r
+\r
+[Depex]\r
+  TRUE\r
+\r