]>
Commit | Line | Data |
---|---|---|
0537d50f | 1 | /** @file\r |
504214c4 | 2 | \r |
e9b67286 | 3 | This library class defines a set of interfaces for how to process capsule image updates.\r |
0537d50f | 4 | \r |
cd5ebaa0 | 5 | Copyright (c) 2007 - 2010, Intel Corporation. All rights reserved.<BR>\r |
64a80549 | 6 | This program and the accompanying materials are licensed and made available under \r |
7 | the terms and conditions of the BSD License that accompanies this distribution. \r | |
8 | The full text of the license may be found at\r | |
9 | http://opensource.org/licenses/bsd-license.php. \r | |
10 | \r | |
11 | THE PROGRAM IS DISTRIBUTED UNDER THE BSD LICENSE ON AN "AS IS" BASIS, \r | |
12 | WITHOUT WARRANTIES OR REPRESENTATIONS OF ANY KIND, EITHER EXPRESS OR IMPLIED.\r | |
0537d50f LG |
13 | \r |
14 | **/\r | |
15 | \r | |
16 | #ifndef __CAPSULE_LIB_H__\r | |
17 | #define __CAPSULE_LIB_H__\r | |
18 | \r | |
19 | /**\r | |
109e9a61 | 20 | The firmware checks whether the capsule image is supported \r |
64a80549 | 21 | by the CapsuleGuid in CapsuleHeader or if there is other specific information in \r |
22 | the capsule image.\r | |
0537d50f | 23 | \r |
64a80549 | 24 | @param CapsuleHeader Pointer to the UEFI capsule image to be checked.\r |
2ae8963c | 25 | \r |
0537d50f LG |
26 | @retval EFI_SUCESS Input capsule is supported by firmware.\r |
27 | @retval EFI_UNSUPPORTED Input capsule is not supported by the firmware.\r | |
28 | **/\r | |
29 | EFI_STATUS\r | |
30 | EFIAPI\r | |
31 | SupportCapsuleImage (\r | |
32 | IN EFI_CAPSULE_HEADER *CapsuleHeader\r | |
ed66e1bc | 33 | );\r |
0537d50f LG |
34 | \r |
35 | /**\r | |
e9b67286 | 36 | The firmware-specific implementation processes the capsule image\r |
109e9a61 | 37 | if it recognized the format of this capsule image.\r |
0537d50f | 38 | \r |
64a80549 | 39 | @param CapsuleHeader Pointer to the UEFI capsule image to be processed. \r |
2ae8963c | 40 | \r |
64a80549 | 41 | @retval EFI_SUCESS Capsule Image processed successfully. \r |
0537d50f LG |
42 | @retval EFI_UNSUPPORTED Capsule image is not supported by the firmware.\r |
43 | **/\r | |
44 | EFI_STATUS\r | |
45 | EFIAPI\r | |
46 | ProcessCapsuleImage (\r | |
47 | IN EFI_CAPSULE_HEADER *CapsuleHeader\r | |
ed66e1bc | 48 | );\r |
0537d50f LG |
49 | \r |
50 | #endif\r |