]> git.proxmox.com Git - mirror_edk2.git/blobdiff - MdePkg/Include/Guid/FmpCapsule.h
MdePkg: Add FMP Capsule Image Header extension
[mirror_edk2.git] / MdePkg / Include / Guid / FmpCapsule.h
index 8c9ae6b8d9456ebbfb2ebd922d5ad98722906658..bd5cb7798e27e3815a4ada5ef901a04b333e12d3 100644 (file)
@@ -3,13 +3,7 @@
   Management Protocol\r
 \r
   Copyright (c) 2013 - 2015, Intel Corporation. All rights reserved.<BR>\r
-  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
+  SPDX-License-Identifier: BSD-2-Clause-Patent\r
 \r
   @par Revision Reference:\r
   GUIDs defined in UEFI 2.4 spec.\r
@@ -35,7 +29,7 @@ typedef struct {
 \r
   ///\r
   /// The number of drivers included in the capsule and the number of corresponding\r
-  /// offsets stored in ItemOffsetList array. \r
+  /// offsets stored in ItemOffsetList array.\r
   ///\r
   UINT16 EmbeddedDriverCount;\r
 \r
@@ -85,13 +79,22 @@ typedef struct {
   /// therefore can be modified without changing the Auth data.\r
   ///\r
   UINT64   UpdateHardwareInstance;\r
+\r
+  ///\r
+  /// A 64-bit bitmask that determines what sections are added to the payload.\r
+  /// #define CAPSULE_SUPPORT_AUTHENTICATION 0x0000000000000001\r
+  /// #define CAPSULE_SUPPORT_DEPENDENCY 0x0000000000000002\r
+  ///\r
+  UINT64   ImageCapsuleSupport;\r
 } EFI_FIRMWARE_MANAGEMENT_CAPSULE_IMAGE_HEADER;\r
 \r
 #pragma pack()\r
 \r
 \r
 #define EFI_FIRMWARE_MANAGEMENT_CAPSULE_HEADER_INIT_VERSION       0x00000001\r
-#define EFI_FIRMWARE_MANAGEMENT_CAPSULE_IMAGE_HEADER_INIT_VERSION 0x00000002\r
+#define EFI_FIRMWARE_MANAGEMENT_CAPSULE_IMAGE_HEADER_INIT_VERSION 0x00000003\r
+#define CAPSULE_SUPPORT_AUTHENTICATION    0x0000000000000001\r
+#define CAPSULE_SUPPORT_DEPENDENCY        0x0000000000000002\r
 \r
 extern EFI_GUID gEfiFmpCapsuleGuid;\r
 \r