From 72f01d4b4a73f55bbabee8eba386f106891541f5 Mon Sep 17 00:00:00 2001 From: vanjeff Date: Thu, 29 Oct 2009 01:49:20 +0000 Subject: [PATCH] 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 --- MdeModulePkg/Include/Guid/CapsuleVendor.h | 12 +++++++++++- 1 file changed, 11 insertions(+), 1 deletion(-) 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;