mirror of
				https://git.proxmox.com/git/mirror_edk2
				synced 2025-10-27 17:28:37 +00:00 
			
		
		
		
	 6c4966423b
			
		
	
	
		6c4966423b
		
	
	
	
	
		
			
			REF: https://bugzilla.tianocore.org/show_bug.cgi?id=2696 * This library class provides platform specific services to support dependency check during updating firmware image. Platform can perform dependency check in platform specific manner by implementing its own FmpDependencyCheckLib. * Add FmpDependencyCheck instance to provide a sample of dependency check. The sample instance only checks the dependency from capsule image. The dependency from other FMP instances isn't checked here. * Add NULL instance as an option to skip the dependency check. Cc: Michael D Kinney <michael.d.kinney@intel.com> Cc: Liming Gao <liming.gao@intel.com> Cc: Sean Brogan <sean.brogan@microsoft.com> Signed-off-by: Wei6 Xu <wei6.xu@intel.com> Reviewed-by: Sean Brogan <sean.brogan@microsoft.com> Reviewed-by: Liming Gao <liming.gao@intel.com>
		
			
				
	
	
		
			44 lines
		
	
	
		
			1.1 KiB
		
	
	
	
		
			INI
		
	
	
	
	
	
			
		
		
	
	
			44 lines
		
	
	
		
			1.1 KiB
		
	
	
	
		
			INI
		
	
	
	
	
	
| ## @file
 | |
| #  Provides FMP capsule dependency check services when updating the firmware
 | |
| #  image of a FMP device.
 | |
| #
 | |
| #  Copyright (c) 2020, Intel Corporation. All rights reserved.<BR>
 | |
| #
 | |
| #  SPDX-License-Identifier: BSD-2-Clause-Patent
 | |
| ##
 | |
| 
 | |
| [Defines]
 | |
|   INF_VERSION     = 0x00010005
 | |
|   BASE_NAME       = FmpDependencyCheckLib
 | |
|   MODULE_UNI_FILE = FmpDependencyCheckLib.uni
 | |
|   FILE_GUID       = 8296D425-3095-4CFE-88D8-B0A44DB174A8
 | |
|   MODULE_TYPE     = DXE_DRIVER
 | |
|   VERSION_STRING  = 1.0
 | |
|   LIBRARY_CLASS   = FmpDependencyCheckLib|DXE_DRIVER UEFI_DRIVER UEFI_APPLICATION
 | |
| 
 | |
| #
 | |
| # The following information is for reference only and not required by the build tools.
 | |
| #
 | |
| #  VALID_ARCHITECTURES           = IA32 X64 ARM AARCH64
 | |
| #
 | |
| 
 | |
| [Sources]
 | |
|   FmpDependencyCheckLib.c
 | |
| 
 | |
| [Packages]
 | |
|   MdePkg/MdePkg.dec
 | |
|   MdeModulePkg/MdeModulePkg.dec
 | |
|   FmpDevicePkg/FmpDevicePkg.dec
 | |
| 
 | |
| [LibraryClasses]
 | |
|   BaseLib
 | |
|   BaseMemoryLib
 | |
|   DebugLib
 | |
|   FmpDependencyLib
 | |
|   MemoryAllocationLib
 | |
|   UefiLib
 | |
|   UefiBootServicesTableLib
 | |
| 
 | |
| [Protocols]
 | |
|   gEfiFirmwareManagementProtocolGuid  ## CONSUMES
 |