]> git.proxmox.com Git - mirror_edk2.git/blame_incremental - MdeModulePkg/Library/DxeCapsuleLibNull/DxeCapsuleLibNull.c
MdeModulePkg/FmpAuthenticationLibNull: Add NULL instance FMP.
[mirror_edk2.git] / MdeModulePkg / Library / DxeCapsuleLibNull / DxeCapsuleLibNull.c
... / ...
CommitLineData
1/** @file\r
2 Null Dxe Capsule Library instance does nothing and returns unsupport status.\r
3\r
4Copyright (c) 2007 - 2008, Intel Corporation. All rights reserved.<BR>\r
5This program and the accompanying materials\r
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
14#include <Uefi.h>\r
15#include <Library/CapsuleLib.h>\r
16\r
17/**\r
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
20 \r
21 @param CapsuleHeader Point to the UEFI capsule image to be checked.\r
22 \r
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
35 The firmware specific implementation processes the capsule image\r
36 if it recognized the format of this capsule image.\r
37 \r
38 @param CapsuleHeader Point to the UEFI capsule image to be processed. \r
39 \r
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