]> git.proxmox.com Git - mirror_edk2.git/blob - FmpDevicePkg/Library/FmpDependencyDeviceLibNull/FmpDependencyDeviceLib.c
FmpDevicePkg: Apply uncrustify changes
[mirror_edk2.git] / FmpDevicePkg / Library / FmpDependencyDeviceLibNull / FmpDependencyDeviceLib.c
1 /** @file
2 Null instance of FmpDependencyDeviceLib.
3
4 Copyright (c) 2020, Intel Corporation. All rights reserved.<BR>
5
6 SPDX-License-Identifier: BSD-2-Clause-Patent
7
8 **/
9 #include <PiDxe.h>
10 #include <Library/FmpDependencyDeviceLib.h>
11
12 /**
13 Save dependency to Fmp device.
14
15 @param[in] Depex Fmp dependency.
16 @param[in] DepexSize Size, in bytes, of the Fmp dependency.
17
18 @retval EFI_SUCCESS Save Fmp dependency succeeds.
19 @retval EFI_UNSUPPORTED Save Fmp dependency is not supported.
20 @retval Others Save Fmp dependency fails.
21
22 **/
23 EFI_STATUS
24 EFIAPI
25 SaveFmpDependency (
26 IN EFI_FIRMWARE_IMAGE_DEP *Depex,
27 IN UINT32 DepexSize
28 )
29 {
30 return EFI_UNSUPPORTED;
31 }
32
33 /**
34 Get dependency from the Fmp device.
35 This caller is responsible for freeing the dependency buffer.
36
37 @param[out] DepexSize Size, in bytes, of the dependency.
38
39 @retval The pointer to dependency.
40 @retval NULL
41
42 **/
43 EFI_FIRMWARE_IMAGE_DEP *
44 EFIAPI
45 GetFmpDependency (
46 OUT UINT32 *DepexSize
47 )
48 {
49 return NULL;
50 }