]> git.proxmox.com Git - mirror_edk2.git/blobdiff - BaseTools/Source/C/Include/Common/UefiCapsule.h
Check In tool source code based on Build tool project revision r1655.
[mirror_edk2.git] / BaseTools / Source / C / Include / Common / UefiCapsule.h
diff --git a/BaseTools/Source/C/Include/Common/UefiCapsule.h b/BaseTools/Source/C/Include/Common/UefiCapsule.h
new file mode 100644 (file)
index 0000000..d504926
--- /dev/null
@@ -0,0 +1,34 @@
+/** @file\r
+  Defines for the EFI Capsule functionality.\r
+\r
+  Copyright (c) 2006 - 2008, Intel Corporation  All rights reserved.\r
+\r
+  This program and the accompanying materials are licensed and made available\r
+  under the terms and conditions of the BSD License which accompanies this\r
+  distribution.  The full text of the license may be found at:\r
+    http://opensource.org/licenses/bsd-license.php\r
+\r
+  THE PROGRAM IS DISTRIBUTED UNDER THE BSD LICENSE ON AN "AS IS" BASIS,\r
+  WITHOUT WARRANTIES OR REPRESENTATIONS OF ANY KIND, EITHER EXPRESS OR IMPLIED.\r
+\r
+  File Name:  Capsule.h\r
+\r
+  @par Revision Reference:\r
+  These definitions are from Uefi Spec.\r
+\r
+**/\r
+\r
+#ifndef _EFI_CAPSULE_H_\r
+#define _EFI_CAPSULE_H_\r
+\r
+typedef struct {\r
+  EFI_GUID          CapsuleGuid;\r
+  UINT32            HeaderSize;\r
+  UINT32            Flags;\r
+  UINT32            CapsuleImageSize;\r
+} EFI_CAPSULE_HEADER;\r
+\r
+#define CAPSULE_FLAGS_PERSIST_ACROSS_RESET          0x00010000\r
+#define CAPSULE_FLAGS_POPULATE_SYSTEM_TABLE         0x00020000\r
+\r
+#endif // #ifndef _EFI_CAPSULE_H_\r