Add Uefi Capsule Definition header file.
authorlgao4 <lgao4@7335b38e-4728-0410-8992-fb3ffe349368>
Thu, 19 Jul 2007 02:23:07 +0000 (02:23 +0000)
committerlgao4 <lgao4@7335b38e-4728-0410-8992-fb3ffe349368>
Thu, 19 Jul 2007 02:23:07 +0000 (02:23 +0000)
git-svn-id: https://buildtools.tianocore.org/svn/buildtools/trunk/BaseTools@357 7335b38e-4728-0410-8992-fb3ffe349368

Source/C/Include/Common/UefiCapsule.h [new file with mode: 0644]

diff --git a/Source/C/Include/Common/UefiCapsule.h b/Source/C/Include/Common/UefiCapsule.h
new file mode 100644 (file)
index 0000000..e90a01b
--- /dev/null
@@ -0,0 +1,33 @@
+/** @file\r
+  Defines for the EFI Capsule functionality.\r
+\r
+  Copyright (c) 2006, Intel Corporation                                                         \r
+  All rights reserved. This program and the accompanying materials                          \r
+  are licensed and made available under the terms and conditions of the BSD License         \r
+  which accompanies this 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
+  Module 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