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
This commit is contained in:
vanjeff 2009-10-29 01:49:20 +00:00
parent 53c13ffba4
commit 72f01d4b4a
1 changed files with 11 additions and 1 deletions

View File

@ -2,8 +2,11 @@
This file defines: This file defines:
* the capsule vendor GUID for capsule variables and the HOB * the capsule vendor GUID for capsule variables and the HOB
* the capsule variable name * 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 All rights reserved. This program and the accompanying materials
are licensed and made available under the terms and conditions of the BSD License 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 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" #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; extern EFI_GUID gEfiCapsuleVendorGuid;