MdeModulePkg/FmpAuthenticationLibNull: Add NULL instance FMP.
[mirror_edk2.git] / MdeModulePkg / Library / DxeCapsuleLibNull / DxeCapsuleLibNull.c
CommitLineData
5d69642d 1/** @file\r
109e9a61 2 Null Dxe Capsule Library instance does nothing and returns unsupport status.\r
d0e24078 3\r
cd5ebaa0
HT
4Copyright (c) 2007 - 2008, Intel Corporation. All rights reserved.<BR>\r
5This program and the accompanying materials\r
d0e24078
LG
6are licensed and made available under the terms and conditions of the BSD License\r
7which accompanies this distribution. The full text of the license may be found at\r
8http://opensource.org/licenses/bsd-license.php\r
9\r
10THE PROGRAM IS DISTRIBUTED UNDER THE BSD LICENSE ON AN "AS IS" BASIS,\r
11WITHOUT WARRANTIES OR REPRESENTATIONS OF ANY KIND, EITHER EXPRESS OR IMPLIED.\r
12\r
13**/\r
60c93673 14#include <Uefi.h>\r
d0e24078
LG
15#include <Library/CapsuleLib.h>\r
16\r
17/**\r
109e9a61
LG
18 The firmware checks whether the capsule image is supported \r
19 by the CapsuleGuid in CapsuleHeader or other specific information in capsule image.\r
d0e24078 20 \r
2ae8963c
LG
21 @param CapsuleHeader Point to the UEFI capsule image to be checked.\r
22 \r
d0e24078
LG
23 @retval EFI_UNSUPPORTED Input capsule is not supported by the firmware.\r
24**/\r
25EFI_STATUS\r
26EFIAPI\r
27SupportCapsuleImage (\r
28 IN EFI_CAPSULE_HEADER *CapsuleHeader\r
29 )\r
30{\r
31 return EFI_UNSUPPORTED;\r
32}\r
33\r
34/**\r
109e9a61
LG
35 The firmware specific implementation processes the capsule image\r
36 if it recognized the format of this capsule image.\r
d0e24078 37 \r
2ae8963c
LG
38 @param CapsuleHeader Point to the UEFI capsule image to be processed. \r
39 \r
d0e24078
LG
40 @retval EFI_UNSUPPORTED Capsule image is not supported by the firmware.\r
41**/\r
42EFI_STATUS\r
43EFIAPI\r
44ProcessCapsuleImage (\r
45 IN EFI_CAPSULE_HEADER *CapsuleHeader\r
46 )\r
47{\r
48 return EFI_UNSUPPORTED;\r
49}\r
50\r
51\r