]> git.proxmox.com Git - mirror_edk2.git/blob - FmpDevicePkg/FmpDxe/FmpDxeLib.inf
OvmfPkg: Refactor MeaureFvImage
[mirror_edk2.git] / FmpDevicePkg / FmpDxe / FmpDxeLib.inf
1 ## @file
2 # Produces a Firmware Management Protocol that supports updates to a firmware
3 # image stored in a firmware device with platform and firmware device specific
4 # information provided through PCDs and libraries.
5 #
6 # Copyright (c) 2016, Microsoft Corporation. All rights reserved.<BR>
7 # Copyright (c) 2018 - 2020, Intel Corporation. All rights reserved.<BR>
8 #
9 # SPDX-License-Identifier: BSD-2-Clause-Patent
10 ##
11
12 [Defines]
13 INF_VERSION = 0x00010005
14 BASE_NAME = FmpDxeLib
15 MODULE_UNI_FILE = FmpDxe.uni
16 FILE_GUID = 4B11717A-30B3-4122-8C69-8E0D5E141C32
17 MODULE_TYPE = DXE_DRIVER
18 VERSION_STRING = 1.0
19 LIBRARY_CLASS = NULL
20 CONSTRUCTOR = FmpDxeEntryPoint
21 DESTRUCTOR = FmpDxeLibDestructor
22
23 #
24 # The following information is for reference only and not required by the build tools.
25 #
26 # VALID_ARCHITECTURES = IA32 X64 ARM AARCH64
27 #
28
29 [Sources]
30 FmpDxe.c
31 FmpDxe.h
32 DetectTestKey.c
33 VariableSupport.h
34 VariableSupport.c
35
36 [Packages]
37 MdePkg/MdePkg.dec
38 MdeModulePkg/MdeModulePkg.dec
39 CryptoPkg/CryptoPkg.dec
40 FmpDevicePkg/FmpDevicePkg.dec
41
42 [LibraryClasses]
43 DebugLib
44 BaseLib
45 BaseMemoryLib
46 UefiBootServicesTableLib
47 MemoryAllocationLib
48 PrintLib
49 UefiLib
50 BaseCryptLib
51 FmpAuthenticationLib
52 FmpDeviceLib
53 FmpPayloadHeaderLib
54 CapsuleUpdatePolicyLib
55 FmpDependencyLib
56 FmpDependencyCheckLib
57 FmpDependencyDeviceLib
58
59 [Guids]
60 gEfiEndOfDxeEventGroupGuid
61
62 [Protocols]
63 gEdkiiVariableLockProtocolGuid ## CONSUMES
64 gEfiFirmwareManagementProtocolGuid ## PRODUCES
65 gEdkiiFirmwareManagementProgressProtocolGuid ## PRODUCES
66
67 [Pcd]
68 gFmpDevicePkgTokenSpaceGuid.PcdFmpDeviceStorageAccessEnable ## CONSUMES
69 gFmpDevicePkgTokenSpaceGuid.PcdFmpDeviceImageIdName ## CONSUMES
70 gFmpDevicePkgTokenSpaceGuid.PcdFmpDeviceBuildTimeLowestSupportedVersion ## CONSUMES
71 gFmpDevicePkgTokenSpaceGuid.PcdFmpDeviceLockEventGuid ## CONSUMES
72 gFmpDevicePkgTokenSpaceGuid.PcdFmpDeviceProgressWatchdogTimeInSeconds ## CONSUMES
73 gFmpDevicePkgTokenSpaceGuid.PcdFmpDeviceProgressColor ## CONSUMES
74 gFmpDevicePkgTokenSpaceGuid.PcdFmpDevicePkcs7CertBufferXdr ## CONSUMES
75 gFmpDevicePkgTokenSpaceGuid.PcdFmpDeviceTestKeySha256Digest ## CONSUMES
76 gFmpDevicePkgTokenSpaceGuid.PcdFmpDeviceImageTypeIdGuid ## CONSUMES
77 gEfiMdeModulePkgTokenSpaceGuid.PcdTestKeyUsed ## SOMETIMES_PRODUCES
78
79 [Depex]
80 gEfiVariableWriteArchProtocolGuid AND gEdkiiVariableLockProtocolGuid