summaryrefslogtreecommitdiff
path: root/MdeModulePkg/Include
diff options
context:
space:
mode:
authorvanjeff <vanjeff@6f19259b-4bc3-4df7-8a09-765794883524>2009-10-29 01:49:20 +0000
committervanjeff <vanjeff@6f19259b-4bc3-4df7-8a09-765794883524>2009-10-29 01:49:20 +0000
commit72f01d4b4a73f55bbabee8eba386f106891541f5 (patch)
treeb10166e1eefa3bf3b35322a8790ecc360cfacf90 /MdeModulePkg/Include
parent53c13ffba4ba18e1fa2f84973d9bda06670ea677 (diff)
downloadedk2-platforms-72f01d4b4a73f55bbabee8eba386f106891541f5.tar.xz
add back CAPSULE_HOB_INFO definition for back-compatible.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@9381 6f19259b-4bc3-4df7-8a09-765794883524
Diffstat (limited to 'MdeModulePkg/Include')
-rw-r--r--MdeModulePkg/Include/Guid/CapsuleVendor.h12
1 files changed, 11 insertions, 1 deletions
diff --git a/MdeModulePkg/Include/Guid/CapsuleVendor.h b/MdeModulePkg/Include/Guid/CapsuleVendor.h
index 910f634286..d779e916ac 100644
--- a/MdeModulePkg/Include/Guid/CapsuleVendor.h
+++ b/MdeModulePkg/Include/Guid/CapsuleVendor.h
@@ -2,8 +2,11 @@
This file defines:
* the capsule vendor GUID for capsule variables and the HOB
* the capsule variable name
+ * the capsule GUID HOB data structure.
+ The capsule HOB and variable can be used to store the capsule image start address and length.
+ They are used by EDKII implementation of capsule update across a system reset.
-Copyright (c) 2006 - 2009, Intel Corporation
+Copyright (c) 2006 - 2008, 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
@@ -32,6 +35,13 @@ WITHOUT WARRANTIES OR REPRESENTATIONS OF ANY KIND, EITHER EXPRESS OR IMPLIED.
///
#define EFI_CAPSULE_VARIABLE_NAME L"CapsuleUpdateData"
+///
+/// Data structure of capsule guid hob entry
+///
+typedef struct {
+ EFI_PHYSICAL_ADDRESS BaseAddress; ///< Capsule data start address
+ UINT32 Length; ///< Length of capsule data.
+} CAPSULE_HOB_INFO;
extern EFI_GUID gEfiCapsuleVendorGuid;