]> git.proxmox.com Git - mirror_edk2.git/blob - SecurityPkg/Tcg/Tcg2Smm/Tcg2StandaloneMm.inf
SecurityPkg: Change use of EFI_D_* to DEBUG_*
[mirror_edk2.git] / SecurityPkg / Tcg / Tcg2Smm / Tcg2StandaloneMm.inf
1 ## @file
2 # Provides ACPI methods for TPM 2.0 support
3 #
4 # Spec Compliance Info:
5 # "TCG ACPI Specification Version 1.2 Revision 8"
6 # "Physical Presence Interface Specification Version 1.30 Revision 00.52"
7 # along with
8 # "Errata Version 0.4 for TCG PC Client Platform Physical Presence Interface Specification"
9 # "Platform Reset Attack Mitigation Specification Version 1.00"
10 # TPM2.0 ACPI device object
11 # "TCG PC Client Platform Firmware Profile Specification for TPM Family 2.0 Level 00 Revision 1.03 v51"
12 # along with
13 # "Errata for PC Client Specific Platform Firmware Profile Specification Version 1.0 Revision 1.03"
14 #
15 # This driver implements TPM 2.0 definition block in ACPI table and
16 # registers SMI callback functions for Tcg2 physical presence and
17 # MemoryClear to handle the requests from ACPI method.
18 #
19 # Caution: This module requires additional review when modified.
20 # This driver will have external input - variable and ACPINvs data in SMM mode.
21 # This external input must be validated carefully to avoid security issue.
22 #
23 # Copyright (c) 2015 - 2019, Intel Corporation. All rights reserved.<BR>
24 # Copyright (c) Microsoft Corporation.<BR>
25 # SPDX-License-Identifier: BSD-2-Clause-Patent
26 #
27 ##
28
29 [Defines]
30 INF_VERSION = 0x00010005
31 BASE_NAME = Tcg2StandaloneMm
32 FILE_GUID = D40F321F-5349-4724-B667-131670587861
33 MODULE_TYPE = MM_STANDALONE
34 PI_SPECIFICATION_VERSION = 0x00010032
35 VERSION_STRING = 1.0
36 ENTRY_POINT = InitializeTcgStandaloneMm
37
38 [Sources]
39 Tcg2Smm.h
40 Tcg2Smm.c
41 Tcg2StandaloneMm.c
42
43 [Packages]
44 MdePkg/MdePkg.dec
45 MdeModulePkg/MdeModulePkg.dec
46 SecurityPkg/SecurityPkg.dec
47 StandaloneMmPkg/StandaloneMmPkg.dec
48
49 [LibraryClasses]
50 BaseLib
51 BaseMemoryLib
52 StandaloneMmDriverEntryPoint
53 MmServicesTableLib
54 DebugLib
55 Tcg2PhysicalPresenceLib
56 PcdLib
57 MemLib
58
59 [Guids]
60 ## SOMETIMES_PRODUCES ## Variable:L"MemoryOverwriteRequestControl"
61 ## SOMETIMES_CONSUMES ## Variable:L"MemoryOverwriteRequestControl"
62 gEfiMemoryOverwriteControlDataGuid
63
64 gEfiTpmDeviceInstanceTpm20DtpmGuid ## PRODUCES ## GUID # TPM device identifier
65 gTpmNvsMmGuid ## CONSUMES
66
67 [Protocols]
68 gEfiSmmSwDispatch2ProtocolGuid ## CONSUMES
69 gEfiSmmVariableProtocolGuid ## CONSUMES
70 gEfiMmReadyToLockProtocolGuid ## CONSUMES
71
72 [Pcd]
73 gEfiSecurityPkgTokenSpaceGuid.PcdTpmInstanceGuid ## CONSUMES
74
75 [Depex]
76 gEfiSmmSwDispatch2ProtocolGuid AND
77 gEfiSmmVariableProtocolGuid