]>
Commit | Line | Data |
---|---|---|
1 | /** @file\r | |
2 | Null Dxe Capsule Library instance does nothing and returns unsupport status.\r | |
3 | \r | |
4 | Copyright (c) 2007 - 2008, Intel Corporation. All rights reserved.<BR>\r | |
5 | 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 | |
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 | |
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 | |
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 | |
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 |