2 Provides firmware device specific services to support saving dependency to
3 firmware device and getting dependency from firmware device.
5 Copyright (c) 2020, Intel Corporation. All rights reserved.<BR>
7 SPDX-License-Identifier: BSD-2-Clause-Patent
11 #ifndef __FMP_DEPENDENCY_DEVICE_LIB__
12 #define __FMP_DEPENDENCY_DEVICE_LIB__
15 #include <Protocol/FirmwareManagement.h>
18 Save dependency to Fmp device.
20 @param[in] Depex Fmp dependency.
21 @param[in] DepexSize Size, in bytes, of the Fmp dependency.
23 @retval EFI_SUCCESS Save Fmp dependency succeeds.
24 @retval EFI_UNSUPPORTED Save Fmp dependency is not supported.
25 @retval Others Save Fmp dependency fails.
31 IN EFI_FIRMWARE_IMAGE_DEP
*Depex
,
36 Get dependency from the Fmp device.
37 This caller is responsible for freeing the dependency buffer.
39 @param[out] DepexSize Size, in bytes, of the dependency.
41 @retval The pointer to dependency.
45 EFI_FIRMWARE_IMAGE_DEP
*