TianoCore EDK2 master
Loading...
Searching...
No Matches
FmpDeviceLib.h
Go to the documentation of this file.
1
12#ifndef __FMP_DEVICE_LIB__
13#define __FMP_DEVICE_LIB__
14
16
31typedef
34 IN EFI_HANDLE Handle
35 );
36
51typedef
54 IN EFI_HANDLE Handle
55 );
56
77EFIAPI
80 );
81
102EFIAPI
105 );
106
132EFIAPI
134 IN EFI_HANDLE Handle,
135 IN OUT VOID **Context
136 );
137
158EFIAPI
160 OUT UINTN *Size
161 );
162
181EFIAPI
183 OUT EFI_GUID **Guid
184 );
185
207EFIAPI
209 OUT UINT64 *Supported,
210 OUT UINT64 *Setting
211 );
212
242EFIAPI
244 OUT UINT32 *LowestSupportedVersion
245 );
246
274EFIAPI
276 OUT CHAR16 **VersionString
277 );
278
306EFIAPI
308 OUT UINT32 *Version
309 );
310
332EFIAPI
334 OUT UINT64 *HardwareInstance
335 );
336
368EFIAPI
370 OUT VOID *Image,
371 IN OUT UINTN *ImageSize
372 );
373
399EFIAPI
401 IN CONST VOID *Image,
402 IN UINTN ImageSize,
403 OUT UINT32 *ImageUpdatable
404 );
405
441EFIAPI
443 IN CONST VOID *Image,
444 IN UINTN ImageSize,
445 OUT UINT32 *ImageUpdatable,
446 OUT UINT32 *LastAttemptStatus
447 );
448
502EFIAPI
504 IN CONST VOID *Image,
505 IN UINTN ImageSize,
506 IN CONST VOID *VendorCode OPTIONAL,
508 IN UINT32 CapsuleFwVersion,
509 OUT CHAR16 **AbortReason
510 );
511
576EFIAPI
578 IN CONST VOID *Image,
579 IN UINTN ImageSize,
580 IN CONST VOID *VendorCode OPTIONAL,
582 IN UINT32 CapsuleFwVersion,
583 OUT CHAR16 **AbortReason,
584 OUT UINT32 *LastAttemptStatus
585 );
586
603EFIAPI
605 VOID
606 );
607
608#endif
UINT64 UINTN
EFI_STATUS(EFIAPI * EFI_FIRMWARE_MANAGEMENT_UPDATE_IMAGE_PROGRESS)(IN UINTN Completion)
EFI_STATUS EFIAPI FmpDeviceGetImage(OUT VOID *Image, IN OUT UINTN *ImageSize)
Definition: FmpDeviceLib.c:374
EFI_STATUS EFIAPI FmpDeviceSetImageWithStatus(IN CONST VOID *Image, IN UINTN ImageSize, IN CONST VOID *VendorCode OPTIONAL, IN EFI_FIRMWARE_MANAGEMENT_UPDATE_IMAGE_PROGRESS Progress OPTIONAL, IN UINT32 CapsuleFwVersion, OUT CHAR16 **AbortReason, OUT UINT32 *LastAttemptStatus)
Definition: FmpDeviceLib.c:608
EFI_STATUS EFIAPI FmpDeviceGetSize(OUT UINTN *Size)
Definition: FmpDeviceLib.c:127
EFI_STATUS EFIAPI FmpDeviceCheckImage(IN CONST VOID *Image, IN UINTN ImageSize, OUT UINT32 *ImageUpdatable)
Definition: FmpDeviceLib.c:408
EFI_STATUS EFIAPI FmpDeviceLock(VOID)
Definition: FmpDeviceLib.c:640
EFI_STATUS EFIAPI FmpDeviceGetVersion(OUT UINT32 *Version)
Definition: FmpDeviceLib.c:306
EFI_STATUS EFIAPI FmpDeviceCheckImageWithStatus(IN CONST VOID *Image, IN UINTN ImageSize, OUT UINT32 *ImageUpdatable, OUT UINT32 *LastAttemptStatus)
Definition: FmpDeviceLib.c:455
EFI_STATUS EFIAPI FmpDeviceGetAttributes(OUT UINT64 *Supported, OUT UINT64 *Setting)
Definition: FmpDeviceLib.c:187
EFI_STATUS EFIAPI RegisterFmpInstaller(IN FMP_DEVICE_LIB_REGISTER_FMP_INSTALLER FmpInstaller)
Definition: FmpDeviceLib.c:37
EFI_STATUS EFIAPI FmpDeviceSetImage(IN CONST VOID *Image, IN UINTN ImageSize, IN CONST VOID *VendorCode OPTIONAL, IN EFI_FIRMWARE_MANAGEMENT_UPDATE_IMAGE_PROGRESS Progress OPTIONAL, IN UINT32 CapsuleFwVersion, OUT CHAR16 **AbortReason)
Definition: FmpDeviceLib.c:521
EFI_STATUS(EFIAPI * FMP_DEVICE_LIB_REGISTER_FMP_UNINSTALLER)(IN EFI_HANDLE Handle)
Definition: FmpDeviceLib.h:53
EFI_STATUS EFIAPI FmpDeviceGetHardwareInstance(OUT UINT64 *HardwareInstance)
Definition: FmpDeviceLib.c:335
EFI_STATUS EFIAPI FmpDeviceSetContext(IN EFI_HANDLE Handle, IN OUT VOID **Context)
Definition: FmpDeviceLib.c:98
EFI_STATUS EFIAPI FmpDeviceGetLowestSupportedVersion(OUT UINT32 *LowestSupportedVersion)
Definition: FmpDeviceLib.c:231
EFI_STATUS EFIAPI FmpDeviceGetVersionString(OUT CHAR16 **VersionString)
Definition: FmpDeviceLib.c:266
EFI_STATUS EFIAPI FmpDeviceGetImageTypeIdGuidPtr(OUT EFI_GUID **Guid)
Definition: FmpDeviceLib.c:158
EFI_STATUS EFIAPI RegisterFmpUninstaller(IN FMP_DEVICE_LIB_REGISTER_FMP_UNINSTALLER FmpUninstaller)
Definition: FmpDeviceLib.c:65
EFI_STATUS(EFIAPI * FMP_DEVICE_LIB_REGISTER_FMP_INSTALLER)(IN EFI_HANDLE Handle)
Definition: FmpDeviceLib.h:33
#define CONST
Definition: Base.h:259
#define IN
Definition: Base.h:279
#define OUT
Definition: Base.h:284
RETURN_STATUS EFI_STATUS
Definition: UefiBaseType.h:29
VOID * EFI_HANDLE
Definition: UefiBaseType.h:33
Definition: Base.h:213