]>
Commit | Line | Data |
---|---|---|
30fdf114 LG |
1 | /** @file\r |
2 | Defines for the EFI Capsule functionality.\r | |
97fa0ee9 YL |
3 | @par Revision Reference:\r |
4 | These definitions are from Uefi Spec.\r | |
30fdf114 | 5 | \r |
97fa0ee9 | 6 | Copyright (c) 2006 - 2014, Intel Corporation. All rights reserved.<BR>\r |
30fdf114 LG |
7 | \r |
8 | This program and the accompanying materials are licensed and made available\r | |
9 | under the terms and conditions of the BSD License which accompanies this\r | |
97fa0ee9 | 10 | distribution. The full text of the license may be found at\r |
30fdf114 LG |
11 | http://opensource.org/licenses/bsd-license.php\r |
12 | \r | |
13 | THE PROGRAM IS DISTRIBUTED UNDER THE BSD LICENSE ON AN "AS IS" BASIS,\r | |
14 | WITHOUT WARRANTIES OR REPRESENTATIONS OF ANY KIND, EITHER EXPRESS OR IMPLIED.\r | |
15 | \r | |
30fdf114 LG |
16 | **/\r |
17 | \r | |
18 | #ifndef _EFI_CAPSULE_H_\r | |
19 | #define _EFI_CAPSULE_H_\r | |
20 | \r | |
21 | typedef struct {\r | |
22 | EFI_GUID CapsuleGuid;\r | |
23 | UINT32 HeaderSize;\r | |
24 | UINT32 Flags;\r | |
25 | UINT32 CapsuleImageSize;\r | |
26 | } EFI_CAPSULE_HEADER;\r | |
27 | \r | |
28 | #define CAPSULE_FLAGS_PERSIST_ACROSS_RESET 0x00010000\r | |
29 | #define CAPSULE_FLAGS_POPULATE_SYSTEM_TABLE 0x00020000\r | |
fd171542 | 30 | #define CAPSULE_FLAGS_INITIATE_RESET 0x00040000\r |
30fdf114 LG |
31 | \r |
32 | #endif // #ifndef _EFI_CAPSULE_H_\r |