From d12f75fee2579c7d6087f02bdca4715786f67d70 Mon Sep 17 00:00:00 2001 From: lgao4 Date: Fri, 16 Nov 2007 10:14:34 +0000 Subject: Add CapsuleInfo guid to store the list of capsule image guid. git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@4299 6f19259b-4bc3-4df7-8a09-765794883524 --- MdeModulePkg/Include/Guid/CapsuleInfo.h | 45 +++++++++++++++++++++++++++++++++ MdeModulePkg/Include/Protocol/Capsule.h | 6 ----- 2 files changed, 45 insertions(+), 6 deletions(-) create mode 100644 MdeModulePkg/Include/Guid/CapsuleInfo.h (limited to 'MdeModulePkg/Include') diff --git a/MdeModulePkg/Include/Guid/CapsuleInfo.h b/MdeModulePkg/Include/Guid/CapsuleInfo.h new file mode 100644 index 0000000000..66c7838958 --- /dev/null +++ b/MdeModulePkg/Include/Guid/CapsuleInfo.h @@ -0,0 +1,45 @@ +/*++ + +Copyright (c) 2006 - 2007, 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 +http://opensource.org/licenses/bsd-license.php + +THE PROGRAM IS DISTRIBUTED UNDER THE BSD LICENSE ON AN "AS IS" BASIS, +WITHOUT WARRANTIES OR REPRESENTATIONS OF ANY KIND, EITHER EXPRESS OR IMPLIED. + +Module Name: + + CapsuleVendor.h + +Abstract: + + Capsule update Guid definitions + +--*/ + +#ifndef __EFI_CAPSULE_INFO_GUID_H__ +#define __EFI_CAPSULE_INFO_GUID_H__ + +typedef struct { + UINT32 CapsuleArrayNumber; + VOID* CapsulePtr[1]; +} EFI_CAPSULE_TABLE; + +typedef struct { + UINT32 CapsuleGuidNumber; + EFI_GUID CapsuleGuidPtr[1]; +} EFI_CAPSULE_INFO_TABLE; + +// +// This GUID is used for collecting all capsules' Guids who install in ConfigTable. +// +#define EFI_CAPSULE_INFO_GUID \ + { \ + 0x8B34EAC7, 0x2690, 0x460B, { 0x8B, 0xA5, 0xD5, 0xCF, 0x32, 0x83, 0x17, 0x35 } \ + } + +extern EFI_GUID gEfiCapsuleInfoGuid; + +#endif // #ifndef _EFI_CAPSULE_INFO_GUID_H_ diff --git a/MdeModulePkg/Include/Protocol/Capsule.h b/MdeModulePkg/Include/Protocol/Capsule.h index 1af0b65f9d..aeeb903473 100644 --- a/MdeModulePkg/Include/Protocol/Capsule.h +++ b/MdeModulePkg/Include/Protocol/Capsule.h @@ -30,10 +30,4 @@ Abstract: extern EFI_GUID gEfiCapsuleArchProtocolGuid; -typedef struct { - UINT32 CapsuleArrayNumber; - VOID* CapsulePtr[1]; -} EFI_CAPSULE_TABLE; - - #endif -- cgit v1.2.3