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