]> git.proxmox.com Git - mirror_edk2.git/blame - FmpDevicePkg/FmpDxe/FmpDxe.inf
FmpDevicePkg FmpDxe: Use Attributes to know whether reset is required
[mirror_edk2.git] / FmpDevicePkg / FmpDxe / FmpDxe.inf
CommitLineData
b0bacc00
KM
1## @file\r
2# Produces a Firmware Management Protocol that supports updates to a firmware\r
3# image stored in a firmware device with platform and firmware device specific\r
4# information provided through PCDs and libraries.\r
5#\r
6# Copyright (c) 2016, Microsoft Corporation. All rights reserved.<BR>\r
7# Copyright (c) 2018, Intel Corporation. All rights reserved.<BR>\r
8#\r
9# Redistribution and use in source and binary forms, with or without\r
10# modification, are permitted provided that the following conditions are met:\r
11# 1. Redistributions of source code must retain the above copyright notice,\r
12# this list of conditions and the following disclaimer.\r
13# 2. Redistributions in binary form must reproduce the above copyright notice,\r
14# this list of conditions and the following disclaimer in the documentation\r
15# and/or other materials provided with the distribution.\r
16#\r
17# THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" AND\r
18# ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED\r
19# WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED.\r
20# IN NO EVENT SHALL THE COPYRIGHT HOLDER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT,\r
21# INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING,\r
22# BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE,\r
23# DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF\r
24# LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE\r
25# OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF\r
26# ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.\r
27##\r
28\r
29[Defines]\r
30 INF_VERSION = 0x00010005\r
31 BASE_NAME = FmpDxe\r
32 MODULE_UNI_FILE = FmpDxe.uni\r
33 FILE_GUID = 78EF0A56-1CF0-4535-B5DA-F6FD2F405A11\r
34 MODULE_TYPE = DXE_DRIVER\r
35 VERSION_STRING = 1.0\r
36 ENTRY_POINT = FmpDxeEntryPoint\r
37\r
38#\r
39# The following information is for reference only and not required by the build tools.\r
40#\r
954175e5 41# VALID_ARCHITECTURES = IA32 X64 ARM AARCH64\r
b0bacc00
KM
42#\r
43\r
44[Sources]\r
45 FmpDxe.c\r
46 DetectTestKey.c\r
47 VariableSupport.h\r
48 VariableSupport.c\r
49\r
50[Packages]\r
51 MdePkg/MdePkg.dec\r
52 MdeModulePkg/MdeModulePkg.dec\r
53 CryptoPkg/CryptoPkg.dec\r
54 FmpDevicePkg/FmpDevicePkg.dec\r
55\r
56[LibraryClasses]\r
57 UefiDriverEntryPoint\r
58 DebugLib\r
59 BaseLib\r
60 BaseMemoryLib\r
61 UefiBootServicesTableLib\r
62 MemoryAllocationLib\r
63 UefiLib\r
64 BaseCryptLib\r
65 FmpAuthenticationLib\r
66 FmpDeviceLib\r
67 FmpPayloadHeaderLib\r
68 CapsuleUpdatePolicyLib\r
69\r
70[Guids]\r
71 gEfiEndOfDxeEventGroupGuid\r
72\r
73[Protocols]\r
74 gEdkiiVariableLockProtocolGuid ## CONSUMES\r
75 gEfiFirmwareManagementProtocolGuid ## PRODUCES\r
76 gEdkiiFirmwareManagementProgressProtocolGuid ## PRODUCES\r
77\r
78[Pcd]\r
b0bacc00
KM
79 gFmpDevicePkgTokenSpaceGuid.PcdFmpDeviceImageIdName ## CONSUMES\r
80 gFmpDevicePkgTokenSpaceGuid.PcdFmpDeviceBuildTimeLowestSupportedVersion ## CONSUMES\r
81 gFmpDevicePkgTokenSpaceGuid.PcdFmpDeviceLockEventGuid ## CONSUMES\r
82 gFmpDevicePkgTokenSpaceGuid.PcdFmpDeviceProgressWatchdogTimeInSeconds ## CONSUMES\r
83 gFmpDevicePkgTokenSpaceGuid.PcdFmpDeviceProgressColor ## CONSUMES\r
84 gFmpDevicePkgTokenSpaceGuid.PcdFmpDevicePkcs7CertBufferXdr ## CONSUMES\r
85 gFmpDevicePkgTokenSpaceGuid.PcdFmpDeviceTestKeySha256Digest ## CONSUMES\r
86 gEfiMdeModulePkgTokenSpaceGuid.PcdTestKeyUsed ## SOMETIMES_PRODUCES\r
87\r
88[Depex]\r
89 gEfiVariableWriteArchProtocolGuid AND gEdkiiVariableLockProtocolGuid\r
90\r
91[UserExtensions.TianoCore."ExtraFiles"]\r
92 FmpDxeExtra.uni\r