]> git.proxmox.com Git - mirror_edk2.git/blob - SecurityPkg/Tcg/Tcg2Config/Tcg2ConfigPei.inf
MdePkg: introduce standalone MM entry point library implementation
[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 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 PeiServicesLib
47 PeimEntryPoint
48 DebugLib
49 PcdLib
50 TimerLib
51 Tpm12CommandLib
52 Tpm12DeviceLib
53
54 [Guids]
55 ## SOMETIMES_CONSUMES ## Variable:L"TCG2_CONFIGURATION"
56 ## SOMETIMES_CONSUMES ## Variable:L"TCG2_DEVICE_DETECTION"
57 gTcg2ConfigFormSetGuid
58 gEfiTpmDeviceSelectedGuid ## PRODUCES ## GUID # Used as a PPI GUID
59 gEfiTpmDeviceInstanceNoneGuid ## SOMETIMES_CONSUMES ## GUID # TPM device identifier
60
61 [Ppis]
62 gEfiPeiReadOnlyVariable2PpiGuid ## CONSUMES
63 gPeiTpmInitializationDonePpiGuid ## SOMETIMES_PRODUCES
64
65 [Pcd]
66 gEfiSecurityPkgTokenSpaceGuid.PcdTpmInstanceGuid ## PRODUCES
67 gEfiSecurityPkgTokenSpaceGuid.PcdTpmInitializationPolicy ## PRODUCES
68 gEfiSecurityPkgTokenSpaceGuid.PcdTpmAutoDetection ## CONSUMES
69
70 [Depex]
71 gEfiPeiMasterBootModePpiGuid AND
72 gEfiPeiReadOnlyVariable2PpiGuid
73
74 [UserExtensions.TianoCore."ExtraFiles"]
75 Tcg2ConfigPeiExtra.uni