Sync basetools' source and binary files with r1707 of the basetools project.
[edk2.git] / BaseTools / Source / C / Include / Common / UefiCapsule.h
blob70d87234f72e756f249333ad5a49a17d3342498b
1 /** @file
2 Defines for the EFI Capsule functionality.
4 Copyright (c) 2006 - 2009, Intel Corporation All rights reserved.
6 This program and the accompanying materials are licensed and made available
7 under the terms and conditions of the BSD License which accompanies this
8 distribution. The full text of the license may be found at:
9 http://opensource.org/licenses/bsd-license.php
11 THE PROGRAM IS DISTRIBUTED UNDER THE BSD LICENSE ON AN "AS IS" BASIS,
12 WITHOUT WARRANTIES OR REPRESENTATIONS OF ANY KIND, EITHER EXPRESS OR IMPLIED.
14 File Name: Capsule.h
16 @par Revision Reference:
17 These definitions are from Uefi Spec.
19 **/
21 #ifndef _EFI_CAPSULE_H_
22 #define _EFI_CAPSULE_H_
24 typedef struct {
25 EFI_GUID CapsuleGuid;
26 UINT32 HeaderSize;
27 UINT32 Flags;
28 UINT32 CapsuleImageSize;
29 } EFI_CAPSULE_HEADER;
31 #define CAPSULE_FLAGS_PERSIST_ACROSS_RESET 0x00010000
32 #define CAPSULE_FLAGS_POPULATE_SYSTEM_TABLE 0x00020000
33 #define CAPSULE_FLAGS_INITIATE_RESET 0x00040000
35 #endif // #ifndef _EFI_CAPSULE_H_