| 1 | /** @file\r |
| 2 | Defines for the EFI Capsule functionality.\r |
| 3 | @par Revision Reference:\r |
| 4 | These definitions are from Uefi Spec.\r |
| 5 | \r |
| 6 | Copyright (c) 2006 - 2014, Intel Corporation. All rights reserved.<BR>\r |
| 7 | \r |
| 8 | SPDX-License-Identifier: BSD-2-Clause-Patent\r |
| 9 | \r |
| 10 | **/\r |
| 11 | \r |
| 12 | #ifndef _EFI_CAPSULE_H_\r |
| 13 | #define _EFI_CAPSULE_H_\r |
| 14 | \r |
| 15 | typedef struct {\r |
| 16 | EFI_GUID CapsuleGuid;\r |
| 17 | UINT32 HeaderSize;\r |
| 18 | UINT32 Flags;\r |
| 19 | UINT32 CapsuleImageSize;\r |
| 20 | } EFI_CAPSULE_HEADER;\r |
| 21 | \r |
| 22 | #define CAPSULE_FLAGS_PERSIST_ACROSS_RESET 0x00010000\r |
| 23 | #define CAPSULE_FLAGS_POPULATE_SYSTEM_TABLE 0x00020000\r |
| 24 | #define CAPSULE_FLAGS_INITIATE_RESET 0x00040000\r |
| 25 | \r |
| 26 | #endif // #ifndef _EFI_CAPSULE_H_\r |