TianoCore EDK2 master
Loading...
Searching...
No Matches
FmpDependencyLib.h
Go to the documentation of this file.
1
12#ifndef __FMP_DEPENDENCY_LIB__
13#define __FMP_DEPENDENCY_LIB__
14
15#include <PiDxe.h>
17
18//
19// Data struct to store FMP ImageType and version for dependency check.
20//
21typedef struct {
22 EFI_GUID ImageTypeId;
23 UINT32 Version;
25
41BOOLEAN
42EFIAPI
44 IN EFI_FIRMWARE_IMAGE_DEP *Dependencies,
45 IN UINTN MaxDepexSize,
46 OUT UINT32 *DepexSize,
47 OUT UINT32 *LastAttemptStatus OPTIONAL
48 );
49
65EFIAPI
68 IN UINTN ImageSize,
69 OUT UINT32 *DepexSize,
70 OUT UINT32 *LastAttemptStatus OPTIONAL
71 );
72
94BOOLEAN
95EFIAPI
97 IN EFI_FIRMWARE_IMAGE_DEP *Dependencies,
98 IN UINTN DependenciesSize,
99 IN FMP_DEPEX_CHECK_VERSION_DATA *FmpVersions OPTIONAL,
100 IN UINTN FmpVersionsCount,
101 OUT UINT32 *LastAttemptStatus OPTIONAL
102 );
103
104#endif
UINT64 UINTN
BOOLEAN EFIAPI EvaluateDependency(IN EFI_FIRMWARE_IMAGE_DEP *Dependencies, IN UINTN DependenciesSize, IN FMP_DEPEX_CHECK_VERSION_DATA *FmpVersions OPTIONAL, IN UINTN FmpVersionsCount, OUT UINT32 *LastAttemptStatus OPTIONAL)
BOOLEAN EFIAPI ValidateDependency(IN EFI_FIRMWARE_IMAGE_DEP *Dependencies, IN UINTN MaxDepexSize, OUT UINT32 *DepexSize, OUT UINT32 *LastAttemptStatus OPTIONAL)
EFI_FIRMWARE_IMAGE_DEP *EFIAPI GetImageDependency(IN EFI_FIRMWARE_IMAGE_AUTHENTICATION *Image, IN UINTN ImageSize, OUT UINT32 *DepexSize, OUT UINT32 *LastAttemptStatus OPTIONAL)
#define IN
Definition: Base.h:279
#define OUT
Definition: Base.h:284
Definition: Base.h:213