cf90eaec81d37654194e4facb0111aa8ac69f35a
[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 - 2014, 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 gMeasuredFvHobGuid
55 gEfiTpmDeviceInstanceTpm12Guid
56
57 [Ppis]
58 gPeiLockPhysicalPresencePpiGuid
59 gEfiPeiFirmwareVolumeInfoPpiGuid
60 gEfiPeiFirmwareVolumeInfo2PpiGuid
61 gEfiPeiFirmwareVolumeInfoMeasurementExcludedPpiGuid
62 gPeiTpmInitializedPpiGuid
63 gEfiEndOfPeiSignalPpiGuid
64
65 [Pcd]
66 gEfiSecurityPkgTokenSpaceGuid.PcdPhysicalPresenceLifetimeLock
67 gEfiSecurityPkgTokenSpaceGuid.PcdPhysicalPresenceCmdEnable
68 gEfiSecurityPkgTokenSpaceGuid.PcdPhysicalPresenceHwEnable
69 gEfiMdeModulePkgTokenSpaceGuid.PcdFirmwareVersionString ## CONSUMES
70 gEfiSecurityPkgTokenSpaceGuid.PcdTpmInstanceGuid
71 gEfiSecurityPkgTokenSpaceGuid.PcdTpmInitializationPolicy
72 gEfiSecurityPkgTokenSpaceGuid.PcdTpmScrtmPolicy
73
74 [FixedPcd]
75 gEfiMdeModulePkgTokenSpaceGuid.PcdPeiCoreMaxFvSupported ## CONSUMES
76
77 [Depex]
78 gEfiPeiMasterBootModePpiGuid AND
79 gEfiPeiReadOnlyVariable2PpiGuid AND
80 gEfiTpmDeviceSelectedGuid