TianoCore EDK2 master
Loading...
Searching...
No Matches
EdkiiSystemCapsuleLib.h
Go to the documentation of this file.
1
9#ifndef __EDKII_SYSTEM_CAPSULE_LIB_H__
10#define __EDKII_SYSTEM_CAPSULE_LIB_H__
11
13
25BOOLEAN
26EFIAPI
28 IN VOID *SystemFirmwareImage,
29 IN UINTN SystemFirmwareImageSize,
31 OUT UINTN *ImageFmpInfoSize
32 );
33
45BOOLEAN
46EFIAPI
48 IN VOID *AuthenticatedImage,
49 IN UINTN AuthenticatedImageSize,
50 OUT VOID **DriverFvImage,
51 OUT UINTN *DriverFvImageSize
52 );
53
65BOOLEAN
66EFIAPI
68 IN VOID *AuthenticatedImage,
69 IN UINTN AuthenticatedImageSize,
70 OUT VOID **ConfigImage,
71 OUT UINTN *ConfigImageSize
72 );
73
85BOOLEAN
86EFIAPI
88 IN VOID *AuthenticatedImage,
89 IN UINTN AuthenticatedImageSize,
90 OUT VOID **SystemFirmwareImage,
91 OUT UINTN *SystemFirmwareImageSize
92 );
93
106BOOLEAN
107EFIAPI
109 IN VOID *Image,
110 IN UINTN ImageSize,
111 OUT UINT32 *LastAttemptStatus,
112 OUT VOID **AuthenticatedImage,
113 OUT UINTN *AuthenticatedImageSize
114 );
115
135EFIAPI
137 IN VOID *Image,
138 IN UINTN ImageSize,
139 IN BOOLEAN ForceVersionMatch,
140 OUT UINT32 *LastAttemptVersion,
141 OUT UINT32 *LastAttemptStatus,
142 OUT VOID **AuthenticatedImage,
143 OUT UINTN *AuthenticatedImageSize
144 );
145
146#endif
UINT64 UINTN
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)
#define IN
Definition: Base.h:279
#define OUT
Definition: Base.h:284
RETURN_STATUS EFI_STATUS
Definition: UefiBaseType.h:29