audk/MdeModulePkg/Library
Ard Biesheuvel 1342bd4486 MdeModulePkg/DxeCapsuleLibFmp: pass progress callback only if it works
If the first call to UpdateImageProgress() fails, there is no point
in passing a pointer to it to Fmp->SetImage(), since it is highly
unlikely to succeed on any subsequent calls.

This permits the FMP implementation to fall back to an alternate means
of providing feedback to the user, e.g., via the console.

Contributed-under: TianoCore Contribution Agreement 1.1
Signed-off-by: Ard Biesheuvel <ard.biesheuvel@linaro.org>
Reviewed-by: Star Zeng <star.zeng@intel.com>
2018-06-15 18:18:17 +02:00
..
AuthVariableLibNull MdeModulePkg: Deprecate EFI_VARIABLE_AUTHENTICATED_WRITE_ACCESS 2017-11-01 22:25:36 +08:00
BaseBmpSupportLib MdeModulePkg: Fix coding style issues in file/function comments 2018-03-19 09:57:22 +08:00
BaseIpmiLibNull MdeModulePkg: Add the missing Library uni files of Ipmi instances 2015-12-24 02:28:45 +00:00
BasePlatformHookLibNull MdeModulePkg: Convert all .uni files to utf-8 2015-12-15 04:56:23 +00:00
BaseResetSystemLibNull MdeModulePkg/BaseResetSystemLibNull: Implement ResetPlatformSpecific 2016-09-02 10:07:14 +08:00
BaseSerialPortLib16550 MdeModulePkg/Library/BaseSerialPortLib16550: Ensure FIFO Polled Mode 2018-06-11 10:40:20 +08:00
BaseSortLib MdeModulePkg: Convert all .uni files to utf-8 2015-12-15 04:56:23 +00:00
BootLogoLib MdeModulePkg/BootLogoLib: Use Boot Logo 2 Protocol 2018-02-28 11:59:31 -08:00
BootMaintenanceManagerUiLib MdeModulePkg: Fix misuses of AllocateCopyPool 2017-11-08 17:13:03 +08:00
BootManagerUiLib MdeModulePkg/BMUiLib: Check reset requirement before exiting UiApp 2017-07-27 10:47:15 +08:00
BrotliCustomDecompressLib MdeModulePkg BrotliLib: Rename function with the specific lib name 2018-03-16 14:34:43 +08:00
CpuExceptionHandlerLibNull MdeModulePkg/CpuExceptionHandlerLibNull: Add new API implementation 2017-12-08 14:38:49 +08:00
CustomizedDisplayLib MdeModulePkg/Library: Fix typos in comments and variables 2016-10-27 09:11:19 +08:00
DebugAgentLibNull MdeModulePkg/Library: Fix typos in comments and variables 2016-10-27 09:11:19 +08:00
DeviceManagerUiLib MdeModulePkg: Fix misuses of AllocateCopyPool 2017-11-08 17:13:03 +08:00
DisplayUpdateProgressLibGraphics MdeModulePkg/DisplayUpdateProgressLib: Fix ECC issues 2018-06-07 10:55:38 +08:00
DisplayUpdateProgressLibText MdeModulePkg/DisplayUpdateProgressLib: Fix ECC issues 2018-06-07 10:55:38 +08:00
DxeCapsuleLibFmp MdeModulePkg/DxeCapsuleLibFmp: pass progress callback only if it works 2018-06-15 18:18:17 +02:00
DxeCapsuleLibNull MdeModulePkg/DxeCapsuleLibNull: Add ProcessCapsules() interface. 2016-11-08 22:36:58 +08:00
DxeCoreMemoryAllocationLib MdeModulePkg: Refine casting expression result to bigger size 2017-03-06 14:33:20 +08:00
DxeCorePerformanceLib MdeModulePkg/DxeCorePerformanceLib: use AllocatePeiAccessiblePages 2018-05-29 10:47:18 +02:00
DxeCrc32GuidedSectionExtractLib MdeModulePkg/Library: Fix typos in comments and variables 2016-10-27 09:11:19 +08:00
DxeDebugPrintErrorLevelLib MdeModulePkg/Library: Fix typos in comments and variables 2016-10-27 09:11:19 +08:00
DxeDpcLib MdeModulePkg/DpcLib: return error if failed to locate DPC protocol. 2017-12-22 15:33:48 +08:00
DxeFileExplorerProtocol MdeModulePkg DxeFileExplorerProtocol: Change file format which has mixed file format. 2015-12-16 03:20:21 +00:00
DxeHttpLib MdeModulePkg/DxeHttpLib: Refine some coding style. 2017-12-27 16:28:56 +08:00
DxeIpIoLib MdeModulePkg/DxeIpIoLib: Fixed the error ASSERT incorrectly used in IpIoAddIp(). 2018-01-17 08:29:48 +08:00
DxeIpmiLibIpmiProtocol MdeModulePkg: Add the missing Library uni files of Ipmi instances 2015-12-24 02:28:45 +00:00
DxeNetLib MdeModulePkg/DxeNetLib: Add array range check in NetIp6IsNetEqual(). 2018-01-12 11:08:44 +08:00
DxePerformanceLib MdeModulePkg: Update PerformanceLib instances not to check Identifier. 2016-04-11 16:20:28 +08:00
DxePrintLibPrint2Protocol MdeModulePkg/DxePrintLibPrint2Protocol: Fix incomplete print output 2018-01-02 16:31:29 +08:00
DxeReportStatusCodeLib MdeModulePkg: Convert all .uni files to utf-8 2015-12-15 04:56:23 +00:00
DxeResetSystemLib MdeModulePkg/DxeResetSystemLib: Avoid depending on UefiRuntimeLib 2018-06-05 13:49:17 +08:00
DxeSecurityManagementLib MdeModulePkg: Fix MSFT C4255 warning 2017-11-14 18:18:43 +08:00
DxeSmmPerformanceLib MdeModulePkg DxeSmmPerformanceLib: Add missing UefiLib in *.inf at de2459d 2016-06-29 12:54:53 +08:00
DxeTcpIoLib MdeModulePkg/TcpIoLib: Cancel TCP token if connect/accept is timeout. 2017-12-12 15:50:31 +08:00
DxeUdpIoLib MdeModulePkg/DxeUdpIoLib: Did some code enhancement for UdpIoLib 2018-01-09 08:53:49 +08:00
FileExplorerLib MdeModulePkg: Update Ppi/Protocol/Guid usage in INF files 2017-10-10 18:10:25 +08:00
FmpAuthenticationLibNull MdeModulePkg/FmpAuthenticationLibNull: Add NULL instance FMP. 2016-11-08 22:36:55 +08:00
FrameBufferBltLib MdeModulePkg/FrameBufferBltLib: Fix copying of unaligned memory 2018-01-16 13:26:56 +08:00
LockBoxNullLib MdeModulePkg: Convert all .uni files to utf-8 2015-12-15 04:56:23 +00:00
LzmaCustomDecompressLib MdeModulePkg: Fix MSFT C4255 warning 2017-11-14 18:18:43 +08:00
NonDiscoverableDeviceRegistrationLib MdeModulePkg: Update NonDiscoverableDeviceRegistrationLib file header format 2017-07-26 09:00:25 +08:00
OemHookStatusCodeLibNull MdeModulePkg: Convert all .uni files to utf-8 2015-12-15 04:56:23 +00:00
PciHostBridgeLibNull MdeModulePkg/PciHostBridgeLib: Correct the function header comments 2016-03-03 18:24:25 +01:00
PeiCrc32GuidedSectionExtractLib MdeModulePkg: Update modules to consume CalculateCrc32() 2017-10-10 18:10:16 +08:00
PeiDebugPrintHobLib MdeModulePkg: Convert all .uni files to utf-8 2015-12-15 04:56:23 +00:00
PeiDxeDebugLibReportStatusCode MdeModulePkg/DebugLibReportStatusCode: Fix hang if format is too long 2018-03-02 13:41:33 +08:00
PeiIpmiLibIpmiPpi MdeModulePkg: Add the missing Library uni files of Ipmi instances 2015-12-24 02:28:45 +00:00
PeiPerformanceLib MdeModulePkg/PerfLib: Add NULL pointer check for "Token" 2018-02-11 09:56:01 +08:00
PeiRecoveryLibNull MdeModulePkg: Convert all .uni files to utf-8 2015-12-15 04:56:23 +00:00
PeiReportStatusCodeLib MdeModulePkg: Convert all .uni files to utf-8 2015-12-15 04:56:23 +00:00
PeiResetSystemLib MdeModulePkg: Add ResetSystemLib instances that call core services 2018-02-09 15:29:58 +08:00
PeiS3LibNull MdeModulePkg: Convert all .uni files to utf-8 2015-12-15 04:56:23 +00:00
PiDxeS3BootScriptLib MdeModulePkg: Update PiDxeS3BootScriptLib Internal function name 2017-09-13 15:02:08 +08:00
PiSmmCoreMemoryAllocationLib MdeModulePkg PiSmmCoreMemoryAllocLib: Fix a FreePool() assertion issue 2017-08-01 17:44:02 +08:00
PiSmmCoreSmmServicesTableLib MdeModulePkg: Convert all .uni files to utf-8 2015-12-15 04:56:23 +00:00
PlatformBootManagerLibNull MdeModulePkg: Convert all .uni files to utf-8 2015-12-15 04:56:23 +00:00
PlatformHookLibSerialPortPpi MdeModulePkg: Correct PlatformHookLibSerialPortPpi module type. 2016-04-25 13:17:05 +08:00
PlatformVarCleanupLib MdeModulePkg: Fix MSFT C4255 warning 2017-11-14 18:18:43 +08:00
ResetUtilityLib MdeModulePkg/ResetUtilityLib: Fix GCC build failure 2018-02-14 09:13:48 +08:00
RuntimeDxeReportStatusCodeLib MdeModulePkg: Convert all .uni files to utf-8 2015-12-15 04:56:23 +00:00
SmmCorePerformanceLib MdeModulePkg/PerfLib: Add NULL pointer check for "Token" 2018-02-11 09:56:01 +08:00
SmmCorePlatformHookLibNull MdeModulePkg: Convert all .uni files to utf-8 2015-12-15 04:56:23 +00:00
SmmIpmiLibSmmIpmiProtocol MdeModulePkg: Add the missing Library uni files of Ipmi instances 2015-12-24 02:28:45 +00:00
SmmLockBoxLib MdeModulePkg LockBoxLib: Support LOCK_BOX_ATTRIBUTE_RESTORE_IN_S3_ONLY 2018-03-08 21:33:48 +08:00
SmmMemoryAllocationProfileLib MdeModulePkg: Refine casting expression result to bigger size 2017-03-06 14:33:20 +08:00
SmmPerformanceLib MdeModulePkg: Update PerformanceLib instances not to check Identifier. 2016-04-11 16:20:28 +08:00
SmmReportStatusCodeLib MdeModulePkg: Convert all .uni files to utf-8 2015-12-15 04:56:23 +00:00
SmmSmiHandlerProfileLib MdeModulePkg/SmiHandlerProfile: Add Context support in Unregister 2017-03-13 16:04:12 +08:00
TpmMeasurementLibNull MdeModulePkg: Convert all .uni files to utf-8 2015-12-15 04:56:23 +00:00
UefiBootManagerLib MdeModulePkg/UefiBootManagerLib: fix AddLoadOptionVariable docs/prototype 2018-04-23 17:49:40 +08:00
UefiHiiLib MdeModulePkg: Fix misuses of AllocateCopyPool 2017-11-08 17:13:03 +08:00
UefiHiiServicesLib MdeModulePkg: Convert all .uni files to utf-8 2015-12-15 04:56:23 +00:00
UefiMemoryAllocationProfileLib MdeModulePkg: Refine casting expression result to bigger size 2017-03-06 14:33:20 +08:00
UefiSortLib MdeModulePkg: Update Ppi/Protocol/Guid usage in INF files 2017-10-10 18:10:25 +08:00
VarCheckHiiLib MdeModulePkg/VarCheckHii: Update data type for variable "ArrayIndex" 2018-01-10 12:43:20 +08:00
VarCheckLib MdeModulePkg VarCheck: #### in L"Boot####" are upper case hex 2016-08-31 15:23:42 +08:00
VarCheckPcdLib MdeModulePkg VarCheckPcd: Make sure the bin at required alignment 2018-01-02 09:55:44 +08:00
VarCheckUefiLib MdeModulePkg VarCheck: #### in L"Boot####" are upper case hex 2016-08-31 15:23:42 +08:00