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