]>
Commit | Line | Data |
---|---|---|
5d69642d | 1 | /** @file\r |
109e9a61 | 2 | Null Dxe Capsule Library instance does nothing and returns unsupport status.\r |
d0e24078 | 3 | \r |
5d69642d | 4 | Copyright (c) 2007 - 2008 Intel Corporation\r |
d0e24078 LG |
5 | All rights reserved. This program and the accompanying materials\r |
6 | are licensed and made available under the terms and conditions of the BSD License\r | |
7 | which accompanies this distribution. The full text of the license may be found at\r | |
8 | http://opensource.org/licenses/bsd-license.php\r | |
9 | \r | |
10 | THE PROGRAM IS DISTRIBUTED UNDER THE BSD LICENSE ON AN "AS IS" BASIS,\r | |
11 | WITHOUT 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 | |
25 | EFI_STATUS\r | |
26 | EFIAPI\r | |
27 | SupportCapsuleImage (\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 | |
42 | EFI_STATUS\r | |
43 | EFIAPI\r | |
44 | ProcessCapsuleImage (\r | |
45 | IN EFI_CAPSULE_HEADER *CapsuleHeader\r | |
46 | )\r | |
47 | {\r | |
48 | return EFI_UNSUPPORTED;\r | |
49 | }\r | |
50 | \r | |
51 | \r |