]> git.proxmox.com Git - mirror_edk2.git/blobdiff - MdePkg/Include/Protocol/FirmwareManagement.h
Add IMAGE_ATTRIBUTE_UEFI_IMAGE definition from UEFI 2.4 specification.
[mirror_edk2.git] / MdePkg / Include / Protocol / FirmwareManagement.h
index ae840268a61de7db83fac6444a7b4036a859b659..7ba6a7aa16c2c9f9e0fb8090f9438dd7540096b4 100644 (file)
@@ -7,8 +7,9 @@
   GetImageInfo() is the only required function. GetImage(), SetImage(), \r
   CheckImage(), GetPackageInfo(), and SetPackageInfo() shall return \r
   EFI_UNSUPPORTED if not supported by the driver.\r
-  \r
-  Copyright (c) 2009 - 2013, Intel Corporation. All rights reserved.<BR>\r
+    \r
+  Copyright (c) 2009 - 2014, Intel Corporation. All rights reserved.<BR>\r
+  Copyright (c) 2013 - 2014, Hewlett-Packard Development Company, L.P.<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
@@ -118,6 +119,10 @@ typedef struct {
 /// This distinguishes firmware images in a device that supports redundant images.  \r
 /// \r
 #define    IMAGE_ATTRIBUTE_IN_USE                  0x0000000000000008\r
+///\r
+/// The attribute IMAGE_ATTRIBUTE_UEFI_IMAGE indicates that this image is an EFI compatible image.\r
+///\r
+#define    IMAGE_ATTRIBUTE_UEFI_IMAGE              0x0000000000000010\r
 \r
 \r
 //\r
@@ -130,7 +135,7 @@ typedef struct {
 #define   IMAGE_COMPATIBILITY_CHECK_SUPPORTED      0x0000000000000001\r
 \r
 ///\r
-/// Descriptor Version\r
+/// Descriptor Version exposed by GetImageInfo() function\r
 ///\r
 #define   EFI_FIRMWARE_IMAGE_DESCRIPTOR_VERSION   2\r
 \r
@@ -148,6 +153,8 @@ typedef struct {
   /// Provides the authorization for the firmware image operations.  It is a signature across \r
   /// the image data and the Monotonic Count value.  Caller uses the private key that is \r
   /// associated with a public key that has been provisioned via the key exchange.  \r
+  /// Because this is defined as a signature, WIN_CERTIFICATE_UEFI_GUID.CertType must\r
+  /// be EFI_CERT_TYPE_PKCS7_GUID.\r
   ///\r
   WIN_CERTIFICATE_UEFI_GUID               AuthInfo;\r
 } EFI_FIRMWARE_IMAGE_AUTHENTICATION;\r