]> git.proxmox.com Git - mirror_edk2.git/blame - MdeModulePkg/Library/DxeCapsuleLibNull/DxeCapsuleLibNull.c
Code scrub for the Capsule, SecurityStub, and Crc32 library instance.
[mirror_edk2.git] / MdeModulePkg / Library / DxeCapsuleLibNull / DxeCapsuleLibNull.c
CommitLineData
5d69642d
LG
1/** @file\r
2 Null Dxe Capsule Library instance.\r
d0e24078 3\r
5d69642d 4Copyright (c) 2007 - 2008 Intel Corporation\r
d0e24078
LG
5All rights reserved. This 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 <PiDxe.h>\r
15#include <Library/CapsuleLib.h>\r
16\r
17/**\r
5d69642d 18 Check those capsules are supported by the firmwares.\r
d0e24078 19 \r
2ae8963c
LG
20 @param CapsuleHeader Point to the UEFI capsule image to be checked.\r
21 \r
d0e24078
LG
22 @retval EFI_UNSUPPORTED Input capsule is not supported by the firmware.\r
23**/\r
24EFI_STATUS\r
25EFIAPI\r
26SupportCapsuleImage (\r
27 IN EFI_CAPSULE_HEADER *CapsuleHeader\r
28 )\r
29{\r
30 return EFI_UNSUPPORTED;\r
31}\r
32\r
33/**\r
34 The firmware implements to process the capsule image.\r
35 \r
2ae8963c
LG
36 @param CapsuleHeader Point to the UEFI capsule image to be processed. \r
37 \r
d0e24078
LG
38 @retval EFI_UNSUPPORTED Capsule image is not supported by the firmware.\r
39**/\r
40EFI_STATUS\r
41EFIAPI\r
42ProcessCapsuleImage (\r
43 IN EFI_CAPSULE_HEADER *CapsuleHeader\r
44 )\r
45{\r
46 return EFI_UNSUPPORTED;\r
47}\r
48\r
49\r