Enable TPM measurement lib to measure all PE image from a FV unmeasured by TcgPei
[mirror_edk2.git] / SecurityPkg / Tcg / TcgPei / TcgPei.inf
1 ## @file
2 # This module will initialize TPM device and measure FVs in PEI phase.
3 #
4 # Copyright (c) 2006 - 2012, Intel Corporation. All rights reserved.<BR>
5 # This program and the accompanying materials
6 # are licensed and made available under the terms and conditions of the BSD License
7 # which accompanies this distribution. The full text of the license may be found at
8 # http://opensource.org/licenses/bsd-license.php
9 # THE PROGRAM IS DISTRIBUTED UNDER THE BSD LICENSE ON AN "AS IS" BASIS,
10 # WITHOUT WARRANTIES OR REPRESENTATIONS OF ANY KIND, EITHER EXPRESS OR IMPLIED.
11 #
12 ##
13
14 [Defines]
15 INF_VERSION = 0x00010005
16 BASE_NAME = TcgPei
17 FILE_GUID = 2BE1E4A6-6505-43b3-9FFC-A3C8330E0432
18 MODULE_TYPE = PEIM
19 VERSION_STRING = 1.0
20 ENTRY_POINT = PeimEntryMA
21
22 #
23 # The following information is for reference only and not required by the build tools.
24 #
25 # VALID_ARCHITECTURES = IA32 X64 IPF EBC
26 #
27
28 [Sources]
29 TcgPei.c
30 TisPei.c
31 TpmComm.c
32 TpmComm.h
33
34 [Packages]
35 MdePkg/MdePkg.dec
36 MdeModulePkg/MdeModulePkg.dec
37 SecurityPkg/SecurityPkg.dec
38
39 [LibraryClasses]
40 HobLib
41 PeimEntryPoint
42 PeiServicesLib
43 BaseMemoryLib
44 DebugLib
45 TpmCommLib
46 TimerLib
47 IoLib
48 PeiServicesTablePointerLib
49 BaseLib
50 PcdLib
51
52 [Guids]
53 gTcgEventEntryHobGuid
54 gTrustedFvHobGuid
55
56 [Ppis]
57 gPeiLockPhysicalPresencePpiGuid
58 gEfiPeiFirmwareVolumeInfoPpiGuid
59 gPeiTpmInitializedPpiGuid
60 gEfiEndOfPeiSignalPpiGuid
61
62 [Pcd]
63 gEfiSecurityPkgTokenSpaceGuid.PcdHideTpm
64 gEfiSecurityPkgTokenSpaceGuid.PcdPhysicalPresenceLifetimeLock
65 gEfiSecurityPkgTokenSpaceGuid.PcdPhysicalPresenceCmdEnable
66 gEfiSecurityPkgTokenSpaceGuid.PcdPhysicalPresenceHwEnable
67 gEfiMdeModulePkgTokenSpaceGuid.PcdFirmwareVersionString ## CONSUMES
68
69 [FixedPcd]
70 gEfiSecurityPkgTokenSpaceGuid.PcdHideTpmSupport
71 gEfiMdeModulePkgTokenSpaceGuid.PcdPeiCoreMaxFvSupported ## CONSUMES
72
73 [Depex]
74 gEfiPeiMasterBootModePpiGuid AND
75 gEfiPeiReadOnlyVariable2PpiGuid