SecurityPkg: Add TPM PTP support in TCG2 SMM.
[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
d967d6d9 12# Copyright (c) 2015 - 2016, Intel Corporation. All rights reserved.<BR>\r
1abfa4ce
JY
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
d967d6d9 53 IoLib\r
1abfa4ce
JY
54\r
55[Guids]\r
56 ## SOMETIMES_PRODUCES ## Variable:L"MemoryOverwriteRequestControl"\r
57 ## SOMETIMES_CONSUMES ## Variable:L"MemoryOverwriteRequestControl" \r
58 gEfiMemoryOverwriteControlDataGuid\r
59 \r
60 gEfiTpmDeviceInstanceTpm20DtpmGuid ## PRODUCES ## GUID # TPM device identifier\r
61\r
62[Protocols]\r
63 gEfiSmmSwDispatch2ProtocolGuid ## CONSUMES\r
64 gEfiSmmVariableProtocolGuid ## CONSUMES\r
65 gEfiAcpiTableProtocolGuid ## CONSUMES\r
66\r
67[Pcd]\r
68 gEfiSecurityPkgTokenSpaceGuid.PcdTpmInstanceGuid ## CONSUMES\r
69 gEfiMdeModulePkgTokenSpaceGuid.PcdAcpiDefaultOemId ## SOMETIMES_CONSUMES\r
70 gEfiMdeModulePkgTokenSpaceGuid.PcdAcpiDefaultOemTableId ## SOMETIMES_CONSUMES\r
71 gEfiMdeModulePkgTokenSpaceGuid.PcdAcpiDefaultOemRevision ## SOMETIMES_CONSUMES\r
72 gEfiMdeModulePkgTokenSpaceGuid.PcdAcpiDefaultCreatorId ## SOMETIMES_CONSUMES\r
73 gEfiMdeModulePkgTokenSpaceGuid.PcdAcpiDefaultCreatorRevision ## SOMETIMES_CONSUMES\r
d967d6d9 74 gEfiSecurityPkgTokenSpaceGuid.PcdTpmBaseAddress ## CONSUMES\r
1abfa4ce
JY
75\r
76[Depex]\r
77 gEfiAcpiTableProtocolGuid AND\r
78 gEfiSmmSwDispatch2ProtocolGuid AND\r
79 gEfiSmmVariableProtocolGuid\r
80\r
81[UserExtensions.TianoCore."ExtraFiles"]\r
82 Tcg2SmmExtra.uni\r