]> git.proxmox.com Git - mirror_edk2.git/commitdiff
Add support for capsule above 4G.
authorxli24 <xli24@6f19259b-4bc3-4df7-8a09-765794883524>
Wed, 24 Feb 2010 08:45:08 +0000 (08:45 +0000)
committerxli24 <xli24@6f19259b-4bc3-4df7-8a09-765794883524>
Wed, 24 Feb 2010 08:45:08 +0000 (08:45 +0000)
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@10061 6f19259b-4bc3-4df7-8a09-765794883524

MdeModulePkg/Include/Guid/CapsuleVendor.h

index b25a37fda02167fe6bbb3a37d704770c19e7ef79..6647738a79395ff382c790c6066842d21b3416aa 100644 (file)
@@ -9,7 +9,7 @@
   @par Note: EDKII implementation of capsule updating has discarded this capsule GUID HOB data\r
              structur and used one UEFI Capsule HOB (defined in PI Specification 1.2) instead.\r
 \r
-Copyright (c) 2006 - 2009, Intel Corporation\r
+Copyright (c) 2006 - 2010, 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
@@ -48,6 +48,21 @@ typedef struct {
   UINT32 Length;                     ///< Length of capsule data.\r
 } CAPSULE_HOB_INFO;\r
 \r
+///\r
+/// The variable describes the long mode buffer used by 32-bit Capsule PEIM\r
+/// to handle capsule above 4G.\r
+///\r
+#define EFI_CAPSULE_LONG_MODE_BUFFER_NAME L"CapsuleLongModeBuffer"\r
+\r
+///\r
+/// Data structure for base address and length of the long mode buffer used by 32-bit Capsule PEIM\r
+/// to handle capsule above 4G\r
+///\r
+typedef struct {\r
+  UINT64   Base;    ///< Base address of the long mode buffer.\r
+  UINT64   Length;  ///< Length of the long mode buffer.\r
+} EFI_CAPSULE_LONG_MODE_BUFFER;\r
+\r
 extern EFI_GUID gEfiCapsuleVendorGuid;\r
 \r
 #endif // #ifndef _EFI_CAPSULE_VENDOR_GUID_H_\r