]> git.proxmox.com Git - mirror_edk2.git/commitdiff
Add the missing PI capsule architecture protocol.
authorlgao4 <lgao4@6f19259b-4bc3-4df7-8a09-765794883524>
Mon, 23 Feb 2009 14:41:41 +0000 (14:41 +0000)
committerlgao4 <lgao4@6f19259b-4bc3-4df7-8a09-765794883524>
Mon, 23 Feb 2009 14:41:41 +0000 (14:41 +0000)
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@7605 6f19259b-4bc3-4df7-8a09-765794883524

MdePkg/Include/Protocol/Capsule.h [new file with mode: 0644]
MdePkg/MdePkg.dec

diff --git a/MdePkg/Include/Protocol/Capsule.h b/MdePkg/Include/Protocol/Capsule.h
new file mode 100644 (file)
index 0000000..c661af3
--- /dev/null
@@ -0,0 +1,35 @@
+/** @file\r
+  Capsule Architectural Protocol as defined in PI1.0a Specification VOLUME 2 DXE\r
+\r
+  The DXE Driver that produces this protocol must be a runtime driver. \r
+  The driver is responsible for initializing the CapsuleUpdate() and \r
+  QueryCapsuleCapabilities() fields of the UEFI Runtime Services Table. \r
+  After the two fields of the UEFI Runtime Services Table have been initialized, \r
+  the driver must install the EFI_CAPSULE_ARCH_PROTOCOL_GUID on a new handle \r
+  with a NULL interface pointer. The installation of this protocol informs \r
+  the DXE Foundation that the Capsule related services are now available and \r
+  that the DXE Foundation must update the 32-bit CRC of the UEFI Runtime Services Table.\r
+\r
+Copyright (c) 2006 - 2009, Intel Corporation\r
+All rights reserved. This program and the accompanying materials\r
+are licensed and made available under the terms and conditions of the BSD License\r
+which accompanies this distribution.  The full text of the license may be found at\r
+http://opensource.org/licenses/bsd-license.php\r
+\r
+THE PROGRAM IS DISTRIBUTED UNDER THE BSD LICENSE ON AN "AS IS" BASIS,\r
+WITHOUT WARRANTIES OR REPRESENTATIONS OF ANY KIND, EITHER EXPRESS OR IMPLIED.\r
+\r
+**/\r
+\r
+#ifndef __ARCH_PROTOCOL_CAPSULE_ARCH_H__\r
+#define __ARCH_PROTOCOL_CAPSULE_ARCH_H__\r
+\r
+//\r
+// Global ID for the Capsule Architectural Protocol\r
+//\r
+#define EFI_CAPSULE_ARCH_PROTOCOL_GUID \\r
+  { 0x5053697e, 0x2cbc, 0x4819, {0x90, 0xd9, 0x05, 0x80, 0xde, 0xee, 0x57, 0x54 }}\r
+\r
+extern EFI_GUID gEfiCapsuleArchProtocolGuid;\r
+\r
+#endif\r
index 2aa4692edcc21211b213a33afefb03efd6380cf8..2641dfd9825c6d8c27a3a7d3b78a9333e96c4db2 100644 (file)
   ## Include/Protocol/FirmwareVolumeBlock.h\r
   gEfiFirmwareVolumeBlockProtocolGuid = { 0xDE28BC59, 0x6228, 0x41BD, { 0xBD, 0xF6, 0xA3, 0xB9, 0xAD, 0xB5, 0x8D, 0xA1 }}\r
 \r
   ## Include/Protocol/FirmwareVolumeBlock.h\r
   gEfiFirmwareVolumeBlockProtocolGuid = { 0xDE28BC59, 0x6228, 0x41BD, { 0xBD, 0xF6, 0xA3, 0xB9, 0xAD, 0xB5, 0x8D, 0xA1 }}\r
 \r
+  ## Include/Protocol/Capsule.h\r
+  gEfiCapsuleArchProtocolGuid    = { 0x5053697E, 0x2CBC, 0x4819, { 0x90, 0xD9, 0x05, 0x80, 0xDE, 0xEE, 0x57, 0x54 }}\r
 \r
   #\r
   # Protocols defined in UEFI2.1/UEFI2.0/EFI1.1\r
 \r
   #\r
   # Protocols defined in UEFI2.1/UEFI2.0/EFI1.1\r