]>
Commit | Line | Data |
---|---|---|
1 | /** @file\r | |
2 | \r | |
3 | Capsule Library. This library class defines a set of interfaces on \r | |
4 | how to process capusle image update.\r | |
5 | \r | |
6 | Copyright (c) 2007, Intel Corporation\r | |
7 | All rights reserved. This program and the accompanying materials\r | |
8 | are licensed and made available under the terms and conditions of the BSD License\r | |
9 | which accompanies this distribution. The full text of the license may be found at\r | |
10 | http://opensource.org/licenses/bsd-license.php\r | |
11 | \r | |
12 | THE PROGRAM IS DISTRIBUTED UNDER THE BSD LICENSE ON AN "AS IS" BASIS,\r | |
13 | WITHOUT WARRANTIES OR REPRESENTATIONS OF ANY KIND, EITHER EXPRESS OR IMPLIED.\r | |
14 | \r | |
15 | **/\r | |
16 | \r | |
17 | #ifndef __CAPSULE_LIB_H__\r | |
18 | #define __CAPSULE_LIB_H__\r | |
19 | \r | |
20 | /**\r | |
21 | Those capsules supported by the firmwares.\r | |
22 | \r | |
23 | @param CapsuleHeader Point to the UEFI capsule image to be checked.\r | |
24 | \r | |
25 | @retval EFI_SUCESS Input capsule is supported by firmware.\r | |
26 | @retval EFI_UNSUPPORTED Input capsule is not supported by the firmware.\r | |
27 | **/\r | |
28 | EFI_STATUS\r | |
29 | EFIAPI\r | |
30 | SupportCapsuleImage (\r | |
31 | IN EFI_CAPSULE_HEADER *CapsuleHeader\r | |
32 | );\r | |
33 | \r | |
34 | /**\r | |
35 | The firmware implements to process the capsule image.\r | |
36 | \r | |
37 | @param CapsuleHeader Point to the UEFI capsule image to be processed. \r | |
38 | \r | |
39 | @retval EFI_SUCESS Process Capsule Image successfully. \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 | #endif\r | |
49 | \r | |
50 | \r |