2 # Provides ACPI methods for TPM 2.0 support
4 # Spec Compliance Info:
5 # "TCG ACPI Specification Version 1.2 Revision 8"
6 # "Physical Presence Interface Specification Version 1.30 Revision 00.52"
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"
13 # "Errata for PC Client Specific Platform Firmware Profile Specification Version 1.0 Revision 1.03"
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.
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.
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
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
36 ENTRY_POINT = InitializeTcgStandaloneMm
45 MdeModulePkg/MdeModulePkg.dec
46 SecurityPkg/SecurityPkg.dec
47 StandaloneMmPkg/StandaloneMmPkg.dec
52 StandaloneMmDriverEntryPoint
55 Tcg2PhysicalPresenceLib
60 ## SOMETIMES_PRODUCES ## Variable:L"MemoryOverwriteRequestControl"
61 ## SOMETIMES_CONSUMES ## Variable:L"MemoryOverwriteRequestControl"
62 gEfiMemoryOverwriteControlDataGuid
64 gEfiTpmDeviceInstanceTpm20DtpmGuid ## PRODUCES ## GUID # TPM device identifier
65 gTpmNvsMmGuid ## CONSUMES
68 gEfiSmmSwDispatch2ProtocolGuid ## CONSUMES
69 gEfiSmmVariableProtocolGuid ## CONSUMES
70 gEfiMmReadyToLockProtocolGuid ## CONSUMES
73 gEfiSecurityPkgTokenSpaceGuid.PcdTpmInstanceGuid ## CONSUMES
76 gEfiSmmSwDispatch2ProtocolGuid AND
77 gEfiSmmVariableProtocolGuid