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