9#ifndef __EDKII_SYSTEM_CAPSULE_LIB_H__
10#define __EDKII_SYSTEM_CAPSULE_LIB_H__
28 IN VOID *SystemFirmwareImage,
29 IN UINTN SystemFirmwareImageSize,
48 IN VOID *AuthenticatedImage,
49 IN UINTN AuthenticatedImageSize,
50 OUT VOID **DriverFvImage,
68 IN VOID *AuthenticatedImage,
69 IN UINTN AuthenticatedImageSize,
70 OUT VOID **ConfigImage,
88 IN VOID *AuthenticatedImage,
89 IN UINTN AuthenticatedImageSize,
90 OUT VOID **SystemFirmwareImage,
111 OUT UINT32 *LastAttemptStatus,
112 OUT VOID **AuthenticatedImage,
139 IN BOOLEAN ForceVersionMatch,
140 OUT UINT32 *LastAttemptVersion,
141 OUT UINT32 *LastAttemptStatus,
142 OUT VOID **AuthenticatedImage,
BOOLEAN EFIAPI ExtractDriverFvImage(IN VOID *AuthenticatedImage, IN UINTN AuthenticatedImageSize, OUT VOID **DriverFvImage, OUT UINTN *DriverFvImageSize)
BOOLEAN EFIAPI ExtractSystemFirmwareImage(IN VOID *AuthenticatedImage, IN UINTN AuthenticatedImageSize, OUT VOID **SystemFirmwareImage, OUT UINTN *SystemFirmwareImageSize)
BOOLEAN EFIAPI ExtractSystemFirmwareImageFmpInfo(IN VOID *SystemFirmwareImage, IN UINTN SystemFirmwareImageSize, OUT EDKII_SYSTEM_FIRMWARE_IMAGE_DESCRIPTOR **ImageFmpInfo, OUT UINTN *ImageFmpInfoSize)
BOOLEAN EFIAPI ExtractAuthenticatedImage(IN VOID *Image, IN UINTN ImageSize, OUT UINT32 *LastAttemptStatus, OUT VOID **AuthenticatedImage, OUT UINTN *AuthenticatedImageSize)
EFI_STATUS EFIAPI CapsuleAuthenticateSystemFirmware(IN VOID *Image, IN UINTN ImageSize, IN BOOLEAN ForceVersionMatch, OUT UINT32 *LastAttemptVersion, OUT UINT32 *LastAttemptStatus, OUT VOID **AuthenticatedImage, OUT UINTN *AuthenticatedImageSize)
BOOLEAN EFIAPI ExtractConfigImage(IN VOID *AuthenticatedImage, IN UINTN AuthenticatedImageSize, OUT VOID **ConfigImage, OUT UINTN *ConfigImageSize)