]>
Commit | Line | Data |
---|---|---|
c1d93242 | 1 | ## @file\r |
60c944c7 | 2 | # Produces TrEE protocol and measure boot environment\r |
c1d93242 JY |
3 | # This module will produce TrEE protocol and measure boot environment.\r |
4 | #\r | |
5 | # Caution: This module requires additional review when modified.\r | |
6 | # This driver will have external input - PE/COFF image.\r | |
7 | # This external input must be validated carefully to avoid security issue like\r | |
8 | # buffer overflow, integer overflow.\r | |
9 | #\r | |
91e914f5 | 10 | # Copyright (c) 2013 - 2016, Intel Corporation. All rights reserved.<BR>\r |
c1d93242 JY |
11 | # This program and the accompanying materials\r |
12 | # are licensed and made available under the terms and conditions of the BSD License\r | |
13 | # which accompanies this distribution. The full text of the license may be found at\r | |
14 | # http://opensource.org/licenses/bsd-license.php\r | |
15 | # THE PROGRAM IS DISTRIBUTED UNDER THE BSD LICENSE ON AN "AS IS" BASIS,\r | |
16 | # WITHOUT WARRANTIES OR REPRESENTATIONS OF ANY KIND, EITHER EXPRESS OR IMPLIED.\r | |
17 | #\r | |
18 | ##\r | |
19 | \r | |
20 | [Defines]\r | |
21 | INF_VERSION = 0x00010005\r | |
22 | BASE_NAME = TrEEDxe\r | |
60c944c7 | 23 | MODULE_UNI_FILE = TrEEDxe.uni\r |
c1d93242 JY |
24 | FILE_GUID = 2A7946E3-1AB2-49a9-ACCB-C6275139C1A5\r |
25 | MODULE_TYPE = DXE_DRIVER\r | |
26 | VERSION_STRING = 1.0\r | |
27 | ENTRY_POINT = DriverEntry\r | |
28 | \r | |
29 | #\r | |
30 | # The following information is for reference only and not required by the build tools.\r | |
31 | #\r | |
32 | # VALID_ARCHITECTURES = IA32 X64 IPF\r | |
33 | #\r | |
34 | \r | |
35 | [Sources]\r | |
36 | TrEEDxe.c\r | |
37 | MeasureBootPeCoff.c\r | |
38 | \r | |
39 | [Packages]\r | |
40 | MdePkg/MdePkg.dec\r | |
41 | MdeModulePkg/MdeModulePkg.dec\r | |
42 | SecurityPkg/SecurityPkg.dec\r | |
43 | CryptoPkg/CryptoPkg.dec\r | |
44 | \r | |
45 | [LibraryClasses]\r | |
46 | MemoryAllocationLib\r | |
47 | BaseLib\r | |
48 | UefiBootServicesTableLib\r | |
49 | HobLib\r | |
50 | UefiDriverEntryPoint\r | |
51 | UefiRuntimeServicesTableLib\r | |
52 | BaseMemoryLib\r | |
53 | DebugLib\r | |
54 | Tpm2CommandLib\r | |
55 | PrintLib\r | |
56 | UefiLib\r | |
57 | Tpm2DeviceLib\r | |
58 | HashLib\r | |
59 | PerformanceLib\r | |
6f785cfc | 60 | ReportStatusCodeLib\r |
c1d93242 JY |
61 | \r |
62 | [Guids]\r | |
60c944c7 DG |
63 | ## SOMETIMES_CONSUMES ## Variable:L"SecureBoot"\r |
64 | ## SOMETIMES_CONSUMES ## Variable:L"PK"\r | |
65 | ## SOMETIMES_CONSUMES ## Variable:L"KEK"\r | |
66 | ## SOMETIMES_CONSUMES ## Variable:L"BootXXXX"\r | |
67 | gEfiGlobalVariableGuid\r | |
68 | \r | |
69 | ## SOMETIMES_CONSUMES ## Variable:L"db"\r | |
70 | ## SOMETIMES_CONSUMES ## Variable:L"dbx"\r | |
c1d93242 | 71 | gEfiImageSecurityDatabaseGuid\r |
60c944c7 DG |
72 | \r |
73 | gTcgEventEntryHobGuid ## SOMETIMES_CONSUMES ## HOB\r | |
6f785cfc | 74 | gTpmErrorHobGuid ## SOMETIMES_CONSUMES ## HOB\r |
60c944c7 DG |
75 | gEfiEventExitBootServicesGuid ## CONSUMES ## Event\r |
76 | gEventExitBootServicesFailedGuid ## SOMETIMES_CONSUMES ## Event\r | |
77 | gEfiTpmDeviceInstanceNoneGuid ## SOMETIMES_CONSUMES ## GUID # TPM device identifier\r | |
78 | gEfiTpmDeviceInstanceTpm12Guid ## SOMETIMES_CONSUMES ## GUID # TPM device identifier\r | |
c1d93242 JY |
79 | \r |
80 | [Protocols]\r | |
60c944c7 DG |
81 | gEfiTrEEProtocolGuid ## PRODUCES\r |
82 | gEfiAcpiTableProtocolGuid ## NOTIFY\r | |
83 | gEfiMpServiceProtocolGuid ## SOMETIMES_CONSUMES\r | |
84 | gEfiVariableWriteArchProtocolGuid ## NOTIFY\r | |
c1d93242 JY |
85 | \r |
86 | [Pcd]\r | |
60c944c7 DG |
87 | gEfiSecurityPkgTokenSpaceGuid.PcdTpmPlatformClass ## SOMETIMES_CONSUMES\r |
88 | gEfiSecurityPkgTokenSpaceGuid.PcdFirmwareDebuggerInitialized ## SOMETIMES_CONSUMES\r | |
89 | gEfiSecurityPkgTokenSpaceGuid.PcdTpmInstanceGuid ## CONSUMES\r | |
90 | gEfiSecurityPkgTokenSpaceGuid.PcdTpmBaseAddress ## SOMETIMES_CONSUMES\r | |
91 | gEfiMdeModulePkgTokenSpaceGuid.PcdAcpiDefaultOemId ## SOMETIMES_CONSUMES\r | |
92 | gEfiMdeModulePkgTokenSpaceGuid.PcdAcpiDefaultOemTableId ## SOMETIMES_CONSUMES\r | |
93 | gEfiMdeModulePkgTokenSpaceGuid.PcdAcpiDefaultOemRevision ## SOMETIMES_CONSUMES\r | |
94 | gEfiMdeModulePkgTokenSpaceGuid.PcdAcpiDefaultCreatorId ## SOMETIMES_CONSUMES\r | |
95 | gEfiMdeModulePkgTokenSpaceGuid.PcdAcpiDefaultCreatorRevision ## SOMETIMES_CONSUMES\r | |
6f785cfc | 96 | gEfiSecurityPkgTokenSpaceGuid.PcdStatusCodeSubClassTpmDevice ## SOMETIMES_CONSUMES\r |
91e914f5 | 97 | gEfiSecurityPkgTokenSpaceGuid.PcdTcgLogAreaMinLen ## CONSUMES\r |
c1d93242 JY |
98 | \r |
99 | [Depex]\r | |
100 | TRUE\r | |
101 | \r | |
60c944c7 DG |
102 | [UserExtensions.TianoCore."ExtraFiles"]\r |
103 | TrEEDxeExtra.uni\r |