summaryrefslogtreecommitdiffstats
path: root/MdeModulePkg
diff options
context:
space:
mode:
authorxli24 <xli24@6f19259b-4bc3-4df7-8a09-765794883524>2010-02-24 08:45:08 +0000
committerxli24 <xli24@6f19259b-4bc3-4df7-8a09-765794883524>2010-02-24 08:45:08 +0000
commitea02543004f26da5088e2070d089109f72ed57f5 (patch)
tree6e8e7356c5ddee247259d2bf120e377197a4ef04 /MdeModulePkg
parentb6d539c869ae46932ec467bb1c23a67518f3e1d6 (diff)
downloadedk2-ea02543004f26da5088e2070d089109f72ed57f5.tar.gz
edk2-ea02543004f26da5088e2070d089109f72ed57f5.tar.bz2
edk2-ea02543004f26da5088e2070d089109f72ed57f5.zip
Add support for capsule above 4G.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@10061 6f19259b-4bc3-4df7-8a09-765794883524
Diffstat (limited to 'MdeModulePkg')
-rw-r--r--MdeModulePkg/Include/Guid/CapsuleVendor.h17
1 files changed, 16 insertions, 1 deletions
diff --git a/MdeModulePkg/Include/Guid/CapsuleVendor.h b/MdeModulePkg/Include/Guid/CapsuleVendor.h
index b25a37fda0..6647738a79 100644
--- a/MdeModulePkg/Include/Guid/CapsuleVendor.h
+++ b/MdeModulePkg/Include/Guid/CapsuleVendor.h
@@ -9,7 +9,7 @@
@par Note: EDKII implementation of capsule updating has discarded this capsule GUID HOB data
structur and used one UEFI Capsule HOB (defined in PI Specification 1.2) instead.
-Copyright (c) 2006 - 2009, Intel Corporation
+Copyright (c) 2006 - 2010, 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
@@ -48,6 +48,21 @@ typedef struct {
UINT32 Length; ///< Length of capsule data.
} CAPSULE_HOB_INFO;
+///
+/// The variable describes the long mode buffer used by 32-bit Capsule PEIM
+/// to handle capsule above 4G.
+///
+#define EFI_CAPSULE_LONG_MODE_BUFFER_NAME L"CapsuleLongModeBuffer"
+
+///
+/// Data structure for base address and length of the long mode buffer used by 32-bit Capsule PEIM
+/// to handle capsule above 4G
+///
+typedef struct {
+ UINT64 Base; ///< Base address of the long mode buffer.
+ UINT64 Length; ///< Length of the long mode buffer.
+} EFI_CAPSULE_LONG_MODE_BUFFER;
+
extern EFI_GUID gEfiCapsuleVendorGuid;
#endif // #ifndef _EFI_CAPSULE_VENDOR_GUID_H_