File tree Expand file tree Collapse file tree 4 files changed +59
-12
lines changed Expand file tree Collapse file tree 4 files changed +59
-12
lines changed Original file line number Diff line number Diff line change 4
4
5
5
!if $(TPM_ENABLE) == TRUE
6
6
OvmfPkg/Tcg/TpmMmioSevDecryptPei/TpmMmioSevDecryptPei.inf
7
- OvmfPkg/Tcg/Tcg2Config/Tcg2ConfigPei .inf
7
+ OvmfPkg/Tcg/Tcg2Config/Tcg12ConfigPei .inf
8
8
SecurityPkg/Tcg/TcgPei/TcgPei.inf
9
9
SecurityPkg/Tcg/Tcg2Pei/Tcg2Pei.inf {
10
10
<LibraryClasses>
Original file line number Diff line number Diff line change 4
4
5
5
! if $(TPM_ENABLE) == TRUE
6
6
INF OvmfPkg/ Tcg/ TpmMmioSevDecryptPei/ TpmMmioSevDecryptPei.inf
7
- INF OvmfPkg/ Tcg/ Tcg2Config/ Tcg2ConfigPei .inf
7
+ INF OvmfPkg/ Tcg/ Tcg2Config/ Tcg12ConfigPei .inf
8
8
INF SecurityPkg/ Tcg/ TcgPei/ TcgPei.inf
9
9
INF SecurityPkg/ Tcg/ Tcg2Pei/ Tcg2Pei.inf
10
10
INF SecurityPkg/ Tcg/ Tcg2PlatformPei/ Tcg2PlatformPei.inf
Original file line number Diff line number Diff line change
1
+ ## @file
2
+ # Set TPM device type - supports TPM 1.2 and 2.0
3
+ #
4
+ # In SecurityPkg, this module initializes the TPM device type based on a UEFI
5
+ # variable and/or hardware detection. In OvmfPkg, the module only performs TPM
6
+ # hardware detection.
7
+ #
8
+ # Copyright (c) 2015 - 2016, Intel Corporation. All rights reserved.<BR>
9
+ # Copyright (C) 2018, Red Hat, Inc.
10
+ #
11
+ # SPDX-License-Identifier: BSD-2-Clause-Patent
12
+ ##
13
+
14
+ [Defines]
15
+ INF_VERSION = 0x00010005
16
+ BASE_NAME = Tcg2ConfigPei
17
+ FILE_GUID = 8AD3148F-945F-46B4-8ACD-71469EA73945
18
+ MODULE_TYPE = PEIM
19
+ VERSION_STRING = 1.0
20
+ ENTRY_POINT = Tcg2ConfigPeimEntryPoint
21
+
22
+ [Sources]
23
+ Tcg2ConfigPeim.c
24
+ Tpm12Support.h
25
+ Tpm12Support.c
26
+
27
+ [Packages]
28
+ MdePkg/MdePkg.dec
29
+ MdeModulePkg/MdeModulePkg.dec
30
+ OvmfPkg/OvmfPkg.dec
31
+ SecurityPkg/SecurityPkg.dec
32
+
33
+ [LibraryClasses]
34
+ PeimEntryPoint
35
+ DebugLib
36
+ PeiServicesLib
37
+ Tpm2DeviceLib
38
+ BaseLib
39
+ Tpm12DeviceLib
40
+
41
+ [Guids]
42
+ gEfiTpmDeviceSelectedGuid ## PRODUCES ## GUID # Used as a PPI GUID
43
+ gEfiTpmDeviceInstanceTpm20DtpmGuid ## SOMETIMES_CONSUMES
44
+ gEfiTpmDeviceInstanceTpm12Guid ## SOMETIMES_CONSUMES
45
+
46
+ [Ppis]
47
+ gPeiTpmInitializationDonePpiGuid ## SOMETIMES_PRODUCES
48
+
49
+ [Pcd]
50
+ gEfiSecurityPkgTokenSpaceGuid.PcdTpmInstanceGuid ## PRODUCES
51
+
52
+ [Depex.IA32, Depex.X64]
53
+ gOvmfTpmMmioAccessiblePpiGuid
54
+
55
+ [Depex.ARM, Depex.AARCH64]
56
+ gOvmfTpmDiscoveredPpiGuid
Original file line number Diff line number Diff line change 1
1
## @file
2
- # Set TPM device type
2
+ # Set TPM device type - supports TPM 2.0 only
3
3
#
4
4
# In SecurityPkg, this module initializes the TPM device type based on a UEFI
5
5
# variable and/or hardware detection. In OvmfPkg, the module only performs TPM
22
22
[Sources]
23
23
Tcg2ConfigPeim.c
24
24
Tpm12Support.h
25
-
26
- [Sources.IA32, Sources.X64]
27
- Tpm12Support.c
28
-
29
- [Sources.ARM, Sources.AARCH64]
30
25
Tpm12SupportNull.c
31
26
32
27
[Packages]
41
36
PeiServicesLib
42
37
Tpm2DeviceLib
43
38
44
- [LibraryClasses.IA32, LibraryClasses.X64]
45
- BaseLib
46
- Tpm12DeviceLib
47
-
48
39
[Guids]
49
40
gEfiTpmDeviceSelectedGuid ## PRODUCES ## GUID # Used as a PPI GUID
50
41
gEfiTpmDeviceInstanceTpm20DtpmGuid ## SOMETIMES_CONSUMES
You can’t perform that action at this time.
0 commit comments