1 | ## @file
|
---|
2 | # Handle TPM 2.0 physical presence requests from OS.
|
---|
3 | #
|
---|
4 | # This library will handle TPM 2.0 physical presence request from OS.
|
---|
5 | #
|
---|
6 | # Caution: This module requires additional review when modified.
|
---|
7 | # This driver will have external input - variable.
|
---|
8 | # This external input must be validated carefully to avoid security issue.
|
---|
9 | #
|
---|
10 | # Copyright (c) 2015 - 2024, Intel Corporation. All rights reserved.<BR>
|
---|
11 | # Copyright (c) Microsoft Corporation.
|
---|
12 | # SPDX-License-Identifier: BSD-2-Clause-Patent
|
---|
13 | #
|
---|
14 | ##
|
---|
15 |
|
---|
16 | [Defines]
|
---|
17 | INF_VERSION = 0x00010005
|
---|
18 | BASE_NAME = StandaloneMmTcg2PhysicalPresenceLib
|
---|
19 | FILE_GUID = 75E3D07B-689C-4F42-A8A0-46AFAE868A6F
|
---|
20 | MODULE_TYPE = MM_STANDALONE
|
---|
21 | PI_SPECIFICATION_VERSION = 0x00010032
|
---|
22 | VERSION_STRING = 1.0
|
---|
23 | LIBRARY_CLASS = Tcg2PhysicalPresenceLib|MM_STANDALONE
|
---|
24 | CONSTRUCTOR = Tcg2PhysicalPresenceLibStandaloneMmConstructor
|
---|
25 |
|
---|
26 | #
|
---|
27 | # The following information is for reference only and not required by the build tools.
|
---|
28 | #
|
---|
29 | # VALID_ARCHITECTURES = IA32 X64 EBC
|
---|
30 | #
|
---|
31 |
|
---|
32 | [Sources]
|
---|
33 | StandaloneMmTcg2PhysicalPresenceLib.c
|
---|
34 | MmTcg2PhysicalPresenceLibCommon.c
|
---|
35 | MmTcg2PhysicalPresenceLibCommon.h
|
---|
36 |
|
---|
37 | [Packages]
|
---|
38 | MdePkg/MdePkg.dec
|
---|
39 | MdeModulePkg/MdeModulePkg.dec
|
---|
40 | SecurityPkg/SecurityPkg.dec
|
---|
41 |
|
---|
42 | [LibraryClasses]
|
---|
43 | DebugLib
|
---|
44 | Tcg2PpVendorLib
|
---|
45 | MmServicesTableLib
|
---|
46 | BaseMemoryLib
|
---|
47 | HobLib
|
---|
48 |
|
---|
49 | [Guids]
|
---|
50 | ## SOMETIMES_PRODUCES ## Variable:L"PhysicalPresence"
|
---|
51 | ## SOMETIMES_CONSUMES ## Variable:L"PhysicalPresence"
|
---|
52 | ## SOMETIMES_CONSUMES ## Variable:L"PhysicalPresenceFlags"
|
---|
53 | gEfiTcg2PhysicalPresenceGuid
|
---|
54 | gEdkiiTcgPhysicalPresenceInterfaceVerHobGuid
|
---|
55 |
|
---|
56 | [Protocols]
|
---|
57 | gEfiSmmVariableProtocolGuid ## CONSUMES
|
---|
58 |
|
---|
59 | [Pcd]
|
---|
60 | gEfiSecurityPkgTokenSpaceGuid.PcdTcg2PhysicalPresenceFlags ## SOMETIMES_CONSUMES
|
---|
61 |
|
---|
62 | [Depex]
|
---|
63 | gEfiSmmVariableProtocolGuid
|
---|