]> git.proxmox.com Git - mirror_edk2.git/blob - SecurityPkg/Tcg/TrEEConfig/TrEEConfigPei.inf
e8de529f8bee4f08e25f3df30f7d3e3aba4a19cb
[mirror_edk2.git] / SecurityPkg / Tcg / TrEEConfig / TrEEConfigPei.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) 2013 - 2015, 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 = TrEEConfigPei
20 MODULE_UNI_FILE = TrEEConfigPei.uni
21 FILE_GUID = A5C1EF72-9379-4370-B4C7-0F5126CAC38E
22 MODULE_TYPE = PEIM
23 VERSION_STRING = 1.0
24 ENTRY_POINT = TrEEConfigPeimEntryPoint
25
26 #
27 # VALID_ARCHITECTURES = IA32 X64 IPF EBC
28 #
29 # [BootMode]
30 # S3_RESUME ## SOMETIMES_CONSUMES
31 #
32
33 [Sources]
34 TrEEConfigPeim.c
35 TrEEConfigNvData.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 IoLib
53 Tpm12CommandLib
54 Tpm12DeviceLib
55
56 [Guids]
57 ## SOMETIMES_CONSUMES ## Variable:L"TREE_CONFIGURATION"
58 ## SOMETIMES_CONSUMES ## Variable:L"TREE_DEVICE_DETECTION"
59 gTrEEConfigFormSetGuid
60 gEfiTpmDeviceSelectedGuid ## PRODUCES ## GUID # Used as a PPI GUID
61 gEfiTpmDeviceInstanceNoneGuid ## SOMETIMES_CONSUMES ## GUID # TPM device identifier
62
63 [Ppis]
64 gEfiPeiReadOnlyVariable2PpiGuid ## CONSUMES
65 gPeiTpmInitializationDonePpiGuid ## SOMETIMES_PRODUCES
66
67 [Pcd]
68 gEfiSecurityPkgTokenSpaceGuid.PcdTpmInstanceGuid ## PRODUCES
69 gEfiSecurityPkgTokenSpaceGuid.PcdTpmInitializationPolicy ## PRODUCES
70 gEfiSecurityPkgTokenSpaceGuid.PcdTpmAutoDetection ## CONSUMES
71 gEfiSecurityPkgTokenSpaceGuid.PcdTpmBaseAddress ## SOMETIMES_CONSUMES
72
73 [Depex]
74 gEfiPeiMasterBootModePpiGuid AND
75 gEfiPeiReadOnlyVariable2PpiGuid
76
77 [UserExtensions.TianoCore."ExtraFiles"]
78 TrEEConfigPeiExtra.uni