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