]> git.proxmox.com Git - mirror_edk2.git/blame - BaseTools/Source/C/Include/Common/UefiCapsule.h
MdeModulePkg:
[mirror_edk2.git] / BaseTools / Source / C / Include / Common / UefiCapsule.h
CommitLineData
30fdf114
LG
1/** @file\r
2 Defines for the EFI Capsule functionality.\r
3\r
fd171542 4 Copyright (c) 2006 - 2009, Intel Corporation All rights reserved.\r
30fdf114
LG
5\r
6 This program and the accompanying materials are licensed and made available\r
7 under the terms and conditions of the BSD License which accompanies this\r
8 distribution. 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
13\r
14 File Name: Capsule.h\r
15\r
16 @par Revision Reference:\r
17 These definitions are from Uefi Spec.\r
18\r
19**/\r
20\r
21#ifndef _EFI_CAPSULE_H_\r
22#define _EFI_CAPSULE_H_\r
23\r
24typedef struct {\r
25 EFI_GUID CapsuleGuid;\r
26 UINT32 HeaderSize;\r
27 UINT32 Flags;\r
28 UINT32 CapsuleImageSize;\r
29} EFI_CAPSULE_HEADER;\r
30\r
31#define CAPSULE_FLAGS_PERSIST_ACROSS_RESET 0x00010000\r
32#define CAPSULE_FLAGS_POPULATE_SYSTEM_TABLE 0x00020000\r
fd171542 33#define CAPSULE_FLAGS_INITIATE_RESET 0x00040000\r
30fdf114
LG
34\r
35#endif // #ifndef _EFI_CAPSULE_H_\r