]> git.proxmox.com Git - mirror_edk2.git/blobdiff - FmpDevicePkg/FmpDxe/FmpDxe.inf
FmpDevicePkg: Add FmpDependencyDevice library class and NULL instance
[mirror_edk2.git] / FmpDevicePkg / FmpDxe / FmpDxe.inf
index 256c50bf031662421744084c01d8d30a63745436..97b6518fa1ff3aea7450e86f0998dcaf16dc456e 100644 (file)
@@ -4,26 +4,9 @@
 #  information provided through PCDs and libraries.\r
 #\r
 #  Copyright (c) 2016, Microsoft Corporation. All rights reserved.<BR>\r
-#  Copyright (c) 2018, Intel Corporation. All rights reserved.<BR>\r
+#  Copyright (c) 2018 - 2020, Intel Corporation. All rights reserved.<BR>\r
 #\r
-#  Redistribution and use in source and binary forms, with or without\r
-#  modification, are permitted provided that the following conditions are met:\r
-#  1. Redistributions of source code must retain the above copyright notice,\r
-#  this list of conditions and the following disclaimer.\r
-#  2. Redistributions in binary form must reproduce the above copyright notice,\r
-#  this list of conditions and the following disclaimer in the documentation\r
-#  and/or other materials provided with the distribution.\r
-#\r
-#  THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" AND\r
-#  ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED\r
-#  WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED.\r
-#  IN NO EVENT SHALL THE COPYRIGHT HOLDER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT,\r
-#  INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING,\r
-#  BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE,\r
-#  DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF\r
-#  LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE\r
-#  OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF\r
-#  ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.\r
+#  SPDX-License-Identifier: BSD-2-Clause-Patent\r
 ##\r
 \r
 [Defines]\r
   MODULE_TYPE                    = DXE_DRIVER\r
   VERSION_STRING                 = 1.0\r
   ENTRY_POINT                    = FmpDxeEntryPoint\r
+  UNLOAD_IMAGE                   = UninstallFmpInstance\r
 \r
 #\r
 # The following information is for reference only and not required by the build tools.\r
 #\r
-#  VALID_ARCHITECTURES           = IA32 X64 IPF ARM AARCH64\r
+#  VALID_ARCHITECTURES           = IA32 X64 ARM AARCH64\r
 #\r
 \r
 [Sources]\r
   FmpDxe.c\r
+  FmpDxe.h\r
+  Dependency.c\r
+  Dependency.h\r
   DetectTestKey.c\r
   VariableSupport.h\r
   VariableSupport.c\r
@@ -60,6 +47,7 @@
   BaseMemoryLib\r
   UefiBootServicesTableLib\r
   MemoryAllocationLib\r
+  PrintLib\r
   UefiLib\r
   BaseCryptLib\r
   FmpAuthenticationLib\r
@@ -76,7 +64,7 @@
   gEdkiiFirmwareManagementProgressProtocolGuid  ## PRODUCES\r
 \r
 [Pcd]\r
-  gFmpDevicePkgTokenSpaceGuid.PcdFmpDeviceSystemResetRequired              ## CONSUMES\r
+  gFmpDevicePkgTokenSpaceGuid.PcdFmpDeviceStorageAccessEnable              ## CONSUMES\r
   gFmpDevicePkgTokenSpaceGuid.PcdFmpDeviceImageIdName                      ## CONSUMES\r
   gFmpDevicePkgTokenSpaceGuid.PcdFmpDeviceBuildTimeLowestSupportedVersion  ## CONSUMES\r
   gFmpDevicePkgTokenSpaceGuid.PcdFmpDeviceLockEventGuid                    ## CONSUMES\r
@@ -84,6 +72,7 @@
   gFmpDevicePkgTokenSpaceGuid.PcdFmpDeviceProgressColor                    ## CONSUMES\r
   gFmpDevicePkgTokenSpaceGuid.PcdFmpDevicePkcs7CertBufferXdr               ## CONSUMES\r
   gFmpDevicePkgTokenSpaceGuid.PcdFmpDeviceTestKeySha256Digest              ## CONSUMES\r
+  gFmpDevicePkgTokenSpaceGuid.PcdFmpDeviceImageTypeIdGuid                  ## CONSUMES\r
   gEfiMdeModulePkgTokenSpaceGuid.PcdTestKeyUsed                            ## SOMETIMES_PRODUCES\r
 \r
 [Depex]\r