]> git.proxmox.com Git - mirror_edk2.git/blobdiff - EdkCompatibilityPkg/Sample/Platform/Generic/Pei/Capsule/Capsule.h
Sync all bug fixes between EDK1.04 and EDK1.06 into EdkCompatibilityPkg.
[mirror_edk2.git] / EdkCompatibilityPkg / Sample / Platform / Generic / Pei / Capsule / Capsule.h
index 6f2839fa4a8a1b4fa266d41c4f86579e6d34b0dd..099ce167d324ee6daeb57af7f36a044f874fa567 100644 (file)
@@ -1,6 +1,6 @@
 /*++        \r
 \r
-Copyright (c) 2004 - 2006, Intel Corporation. All rights reserved.<BR>\r
+Copyright (c) 2004 - 2010, Intel Corporation. All rights reserved.<BR>\r
 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
@@ -20,8 +20,21 @@ Abstract:
 #ifndef _CAPSULE_PEIM_H\r
 #define _CAPSULE_PEIM_H\r
 \r
+#include "Tiano.h"\r
+\r
 //\r
 // If capsule data is passed via a variable, then this name should be used.\r
 //\r
 #define EFI_CAPSULE_VARIABLE_NAME L"CapsuleUpdateData"\r
+\r
+//\r
+// The variable describes the long mode buffer used by IA32 Capsule PEIM\r
+// to call X64 CapsuleCoalesce code to handle >4GB capsule blocks.\r
+//\r
+#define EFI_CAPSULE_LONG_MODE_BUFFER_NAME L"CapsuleLongModeBuffer"\r
+typedef struct {\r
+  UINT64   Base;\r
+  UINT64   Length;\r
+} EFI_CAPSULE_LONG_MODE_BUFFER;\r
+\r
 #endif\r