Add TPM2 support defined in trusted computing group.
[mirror_edk2.git] / SecurityPkg / Tcg / Tcg2Smm / Tcg2Smm.inf
CommitLineData
1abfa4ce
JY
1## @file\r
2# Provides ACPI metholds for TPM 2.0 support\r
3#\r
4# This driver implements TPM 2.0 definition block in ACPI table and \r
5# registers SMI callback functions for Tcg2 physical presence and \r
6# MemoryClear to handle the requests from ACPI method.\r
7#\r
8# Caution: This module requires additional review when modified.\r
9# This driver will have external input - variable and ACPINvs data in SMM mode.\r
10# This external input must be validated carefully to avoid security issue.\r
11#\r
12# Copyright (c) 2015, Intel Corporation. All rights reserved.<BR>\r
13# This program and the accompanying materials\r
14# are licensed and made available under the terms and conditions of the BSD License\r
15# which accompanies this distribution. The full text of the license may be found at\r
16# http://opensource.org/licenses/bsd-license.php\r
17# THE PROGRAM IS DISTRIBUTED UNDER THE BSD LICENSE ON AN "AS IS" BASIS,\r
18# WITHOUT WARRANTIES OR REPRESENTATIONS OF ANY KIND, EITHER EXPRESS OR IMPLIED.\r
19#\r
20##\r
21\r
22[Defines]\r
23 INF_VERSION = 0x00010005\r
24 BASE_NAME = Tcg2Smm\r
25 MODULE_UNI_FILE = Tcg2Smm.uni\r
26 FILE_GUID = 44A20657-10B8-4049-A148-ACD8812AF257\r
27 MODULE_TYPE = DXE_SMM_DRIVER\r
28 PI_SPECIFICATION_VERSION = 0x0001000A\r
29 VERSION_STRING = 1.0\r
30 ENTRY_POINT = InitializeTcgSmm\r
31\r
32[Sources]\r
33 Tcg2Smm.h\r
34 Tcg2Smm.c\r
35 Tpm.asl\r
36\r
37[Packages]\r
38 MdePkg/MdePkg.dec\r
39 MdeModulePkg/MdeModulePkg.dec\r
40 SecurityPkg/SecurityPkg.dec\r
41\r
42[LibraryClasses]\r
43 BaseLib\r
44 BaseMemoryLib\r
45 UefiDriverEntryPoint\r
46 SmmServicesTableLib\r
47 UefiBootServicesTableLib\r
48 DebugLib\r
49 DxeServicesLib\r
50 TpmMeasurementLib\r
51 Tpm2DeviceLib\r
52 Tcg2PhysicalPresenceLib\r
53\r
54[Guids]\r
55 ## SOMETIMES_PRODUCES ## Variable:L"MemoryOverwriteRequestControl"\r
56 ## SOMETIMES_CONSUMES ## Variable:L"MemoryOverwriteRequestControl" \r
57 gEfiMemoryOverwriteControlDataGuid\r
58 \r
59 gEfiTpmDeviceInstanceTpm20DtpmGuid ## PRODUCES ## GUID # TPM device identifier\r
60\r
61[Protocols]\r
62 gEfiSmmSwDispatch2ProtocolGuid ## CONSUMES\r
63 gEfiSmmVariableProtocolGuid ## CONSUMES\r
64 gEfiAcpiTableProtocolGuid ## CONSUMES\r
65\r
66[Pcd]\r
67 gEfiSecurityPkgTokenSpaceGuid.PcdTpmInstanceGuid ## CONSUMES\r
68 gEfiMdeModulePkgTokenSpaceGuid.PcdAcpiDefaultOemId ## SOMETIMES_CONSUMES\r
69 gEfiMdeModulePkgTokenSpaceGuid.PcdAcpiDefaultOemTableId ## SOMETIMES_CONSUMES\r
70 gEfiMdeModulePkgTokenSpaceGuid.PcdAcpiDefaultOemRevision ## SOMETIMES_CONSUMES\r
71 gEfiMdeModulePkgTokenSpaceGuid.PcdAcpiDefaultCreatorId ## SOMETIMES_CONSUMES\r
72 gEfiMdeModulePkgTokenSpaceGuid.PcdAcpiDefaultCreatorRevision ## SOMETIMES_CONSUMES\r
73\r
74[Depex]\r
75 gEfiAcpiTableProtocolGuid AND\r
76 gEfiSmmSwDispatch2ProtocolGuid AND\r
77 gEfiSmmVariableProtocolGuid\r
78\r
79[UserExtensions.TianoCore."ExtraFiles"]\r
80 Tcg2SmmExtra.uni\r