TianoCore EDK2 master
Loading...
Searching...
No Matches
FmpDependencyDeviceLib.c File Reference

Go to the source code of this file.

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

Null instance of FmpDependencyDeviceLib.

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

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

Definition in file FmpDependencyDeviceLib.c.

Function Documentation

◆ GetFmpDependency()

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

Definition at line 45 of file FmpDependencyDeviceLib.c.

◆ SaveFmpDependency()

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.

Definition at line 25 of file FmpDependencyDeviceLib.c.