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