X-Git-Url: https://git.proxmox.com/?p=mirror_edk2.git;a=blobdiff_plain;f=BaseTools%2FSource%2FC%2FInclude%2FCommon%2FUefiCapsule.h;fp=BaseTools%2FSource%2FC%2FInclude%2FCommon%2FUefiCapsule.h;h=d50492662bb813d37be5df1b6d14f2670a11e221;hp=0000000000000000000000000000000000000000;hb=30fdf1140b8d1ce93f3821d986fa165552023440;hpb=577e30cdb473e4af8e65fd6f75236691d0c8dfb3 diff --git a/BaseTools/Source/C/Include/Common/UefiCapsule.h b/BaseTools/Source/C/Include/Common/UefiCapsule.h new file mode 100644 index 0000000000..d50492662b --- /dev/null +++ b/BaseTools/Source/C/Include/Common/UefiCapsule.h @@ -0,0 +1,34 @@ +/** @file + Defines for the EFI Capsule functionality. + + Copyright (c) 2006 - 2008, Intel Corporation All rights reserved. + + This program and the accompanying materials are licensed and made available + under the terms and conditions of the BSD License which accompanies this + distribution. The full text of the license may be found at: + http://opensource.org/licenses/bsd-license.php + + THE PROGRAM IS DISTRIBUTED UNDER THE BSD LICENSE ON AN "AS IS" BASIS, + WITHOUT WARRANTIES OR REPRESENTATIONS OF ANY KIND, EITHER EXPRESS OR IMPLIED. + + File Name: Capsule.h + + @par Revision Reference: + These definitions are from Uefi Spec. + +**/ + +#ifndef _EFI_CAPSULE_H_ +#define _EFI_CAPSULE_H_ + +typedef struct { + EFI_GUID CapsuleGuid; + UINT32 HeaderSize; + UINT32 Flags; + UINT32 CapsuleImageSize; +} EFI_CAPSULE_HEADER; + +#define CAPSULE_FLAGS_PERSIST_ACROSS_RESET 0x00010000 +#define CAPSULE_FLAGS_POPULATE_SYSTEM_TABLE 0x00020000 + +#endif // #ifndef _EFI_CAPSULE_H_