From: Hao Wu Date: Wed, 6 May 2015 03:30:27 +0000 (+0000) Subject: MdePkg: EFI_FIRMWARE_MANAGEMENT_PROTOCOL.CheckImage() Description Update X-Git-Tag: edk2-stable201903~9931 X-Git-Url: https://git.proxmox.com/?p=mirror_edk2.git;a=commitdiff_plain;h=18baa558a4a0bf5893083723b322582015c0b2a7 MdePkg: EFI_FIRMWARE_MANAGEMENT_PROTOCOL.CheckImage() Description Update Update description comments for IMAGE_UPDATABLE_VALID. Add new definition IMAGE_UPDATABLE_VALID_WITH_VENDOR_CODE to FMP CheckImage. Contributed-under: TianoCore Contribution Agreement 1.0 Signed-off-by: Hao Wu Reviewed-by: Liming Gao git-svn-id: https://svn.code.sf.net/p/edk2/code/trunk/edk2@17321 6f19259b-4bc3-4df7-8a09-765794883524 --- diff --git a/MdePkg/Include/Protocol/FirmwareManagement.h b/MdePkg/Include/Protocol/FirmwareManagement.h index 7425d69c07..e615573a51 100644 --- a/MdePkg/Include/Protocol/FirmwareManagement.h +++ b/MdePkg/Include/Protocol/FirmwareManagement.h @@ -191,7 +191,9 @@ typedef struct { // /// /// IMAGE_UPDATABLE_VALID indicates SetImage() will accept the new image and update the -/// device with the new image. +/// device with the new image. The version of the new image could be higher or lower than +/// the current image. SetImage VendorCode is optional but can be used for vendor +/// specific action. /// #define IMAGE_UPDATABLE_VALID 0x0000000000000001 /// @@ -211,6 +213,12 @@ typedef struct { /// version downgrade. /// #define IMAGE_UPDATABLE_INVALID_OLD 0x0000000000000008 +/// +/// IMAGE_UPDATABLE_VALID_WITH_VENDOR_CODE indicates SetImage() will accept and update +/// the new image only if a correct VendorCode is provided or else image would be +/// rejected and SetImage will return appropriate error. +/// +#define IMAGE_UPDATABLE_VALID_WITH_VENDOR_CODE 0x0000000000000010 //