summaryrefslogtreecommitdiff
path: root/MdeModulePkg/Include
diff options
context:
space:
mode:
authorlgao4 <lgao4@6f19259b-4bc3-4df7-8a09-765794883524>2007-11-16 10:14:34 +0000
committerlgao4 <lgao4@6f19259b-4bc3-4df7-8a09-765794883524>2007-11-16 10:14:34 +0000
commitd12f75fee2579c7d6087f02bdca4715786f67d70 (patch)
tree7d60e1e97657accc6da852885546ab34e85f7394 /MdeModulePkg/Include
parent3076397e4b8f6baaea994da79b3c4e934a5f31d7 (diff)
downloadedk2-platforms-d12f75fee2579c7d6087f02bdca4715786f67d70.tar.xz
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
Diffstat (limited to 'MdeModulePkg/Include')
-rw-r--r--MdeModulePkg/Include/Guid/CapsuleInfo.h45
-rw-r--r--MdeModulePkg/Include/Protocol/Capsule.h6
2 files changed, 45 insertions, 6 deletions
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