]> git.proxmox.com Git - mirror_edk2.git/blob - SecurityPkg/Tcg/Tcg2Config/Tcg2ConfigPei.inf
0d151ba019197ce49b3684bf0457eb7fef81f570
[mirror_edk2.git] / SecurityPkg / Tcg / Tcg2Config / Tcg2ConfigPei.inf
1 ## @file
2 # Set TPM device type
3 #
4 # This module initializes TPM device type based on variable and detection.
5 # NOTE: This module is only for reference only, each platform should have its own setup page.
6 #
7 # Copyright (c) 2015 - 2018, Intel Corporation. All rights reserved.<BR>
8 # This program and the accompanying materials
9 # are licensed and made available under the terms and conditions of the BSD License
10 # which accompanies this distribution. The full text of the license may be found at
11 # http://opensource.org/licenses/bsd-license.php
12 # THE PROGRAM IS DISTRIBUTED UNDER THE BSD LICENSE ON AN "AS IS" BASIS,
13 # WITHOUT WARRANTIES OR REPRESENTATIONS OF ANY KIND, EITHER EXPRESS OR IMPLIED.
14 #
15 ##
16
17 [Defines]
18 INF_VERSION = 0x00010005
19 BASE_NAME = Tcg2ConfigPei
20 MODULE_UNI_FILE = Tcg2ConfigPei.uni
21 FILE_GUID = EADD5061-93EF-4CCC-8450-F78A7F0820F0
22 MODULE_TYPE = PEIM
23 VERSION_STRING = 1.0
24 ENTRY_POINT = Tcg2ConfigPeimEntryPoint
25
26 #
27 # VALID_ARCHITECTURES = IA32 X64 IPF EBC
28 #
29 # [BootMode]
30 # S3_RESUME ## SOMETIMES_CONSUMES
31 #
32
33 [Sources]
34 Tcg2ConfigPeim.c
35 Tcg2ConfigNvData.h
36 TpmDetection.c
37
38 [Packages]
39 MdePkg/MdePkg.dec
40 MdeModulePkg/MdeModulePkg.dec
41 SecurityPkg/SecurityPkg.dec
42
43 [LibraryClasses]
44 BaseLib
45 BaseMemoryLib
46 MemoryAllocationLib
47 PeiServicesLib
48 PeimEntryPoint
49 DebugLib
50 PcdLib
51 TimerLib
52 Tpm12CommandLib
53 Tpm12DeviceLib
54
55 [Guids]
56 ## SOMETIMES_CONSUMES ## Variable:L"TCG2_CONFIGURATION"
57 ## SOMETIMES_CONSUMES ## Variable:L"TCG2_DEVICE_DETECTION"
58 gTcg2ConfigFormSetGuid
59 gEfiTpmDeviceSelectedGuid ## PRODUCES ## GUID # Used as a PPI GUID
60 gEfiTpmDeviceInstanceNoneGuid ## SOMETIMES_CONSUMES ## GUID # TPM device identifier
61
62 [Ppis]
63 gEfiPeiReadOnlyVariable2PpiGuid ## CONSUMES
64 gPeiTpmInitializationDonePpiGuid ## SOMETIMES_PRODUCES
65
66 [Pcd]
67 gEfiSecurityPkgTokenSpaceGuid.PcdTpmInstanceGuid ## PRODUCES
68 gEfiSecurityPkgTokenSpaceGuid.PcdTpmInitializationPolicy ## PRODUCES
69 gEfiSecurityPkgTokenSpaceGuid.PcdTpmAutoDetection ## CONSUMES
70 gEfiSecurityPkgTokenSpaceGuid.PcdTpmBaseAddress ## SOMETIMES_CONSUMES
71
72 [Depex]
73 gEfiPeiMasterBootModePpiGuid AND
74 gEfiPeiReadOnlyVariable2PpiGuid
75
76 [UserExtensions.TianoCore."ExtraFiles"]
77 Tcg2ConfigPeiExtra.uni