FmpDevicePkg[all]  0.1
 All Data Structures Files Functions Variables Typedefs Macros Pages
FmpDependencyDeviceLib.h File Reference

Functions

EFI_STATUS EFIAPI SaveFmpDependency (IN EFI_FIRMWARE_IMAGE_DEP *Depex, IN UINT32 DepexSize)
 
EFI_FIRMWARE_IMAGE_DEP *EFIAPI GetFmpDependency (OUT UINT32 *DepexSize)
 

Detailed Description

Provides firmware device specific services to support saving dependency to firmware device and getting dependency from firmware device.

Copyright (c) 2020, Intel Corporation. All rights reserved.

SPDX-License-Identifier: BSD-2-Clause-Patent

Function Documentation

EFI_FIRMWARE_IMAGE_DEP* EFIAPI GetFmpDependency ( OUT UINT32 *  DepexSize)

Get dependency from the Fmp device. This caller is responsible for freeing the dependency buffer.

Parameters
[out]DepexSizeSize, in bytes, of the dependency.
Return values
Thepointer to dependency.
NULL
EFI_STATUS EFIAPI SaveFmpDependency ( IN EFI_FIRMWARE_IMAGE_DEP *  Depex,
IN UINT32  DepexSize 
)

Save dependency to Fmp device.

Parameters
[in]DepexFmp dependency.
[in]DepexSizeSize, in bytes, of the Fmp dependency.
Return values
EFI_SUCCESSSave Fmp dependency succeeds.
EFI_UNSUPPORTEDSave Fmp dependency is not supported.
OthersSave Fmp dependency fails.