]> git.proxmox.com Git - mirror_edk2.git/blob - MdeModulePkg/Library/DxeCapsuleLibNull/DxeCapsuleLibNull.c
1d45729eed246f29634774cdf220c0c68db86f4c
[mirror_edk2.git] / MdeModulePkg / Library / DxeCapsuleLibNull / DxeCapsuleLibNull.c
1 /** @file
2 Null Dxe Capsule Library instance.
3
4 Copyright (c) 2007 - 2008 Intel Corporation
5 All rights reserved. This program and the accompanying materials
6 are licensed and made available under the terms and conditions of the BSD License
7 which accompanies this distribution. The full text of the license may be found at
8 http://opensource.org/licenses/bsd-license.php
9
10 THE PROGRAM IS DISTRIBUTED UNDER THE BSD LICENSE ON AN "AS IS" BASIS,
11 WITHOUT WARRANTIES OR REPRESENTATIONS OF ANY KIND, EITHER EXPRESS OR IMPLIED.
12
13 **/
14 #include <Uefi.h>
15 #include <Library/CapsuleLib.h>
16
17 /**
18 Check those capsules are supported by the firmwares.
19
20 @param CapsuleHeader Point to the UEFI capsule image to be checked.
21
22 @retval EFI_UNSUPPORTED Input capsule is not supported by the firmware.
23 **/
24 EFI_STATUS
25 EFIAPI
26 SupportCapsuleImage (
27 IN EFI_CAPSULE_HEADER *CapsuleHeader
28 )
29 {
30 return EFI_UNSUPPORTED;
31 }
32
33 /**
34 The firmware implements to process the capsule image.
35
36 @param CapsuleHeader Point to the UEFI capsule image to be processed.
37
38 @retval EFI_UNSUPPORTED Capsule image is not supported by the firmware.
39 **/
40 EFI_STATUS
41 EFIAPI
42 ProcessCapsuleImage (
43 IN EFI_CAPSULE_HEADER *CapsuleHeader
44 )
45 {
46 return EFI_UNSUPPORTED;
47 }
48
49