From 18baa558a4a0bf5893083723b322582015c0b2a7 Mon Sep 17 00:00:00 2001 From: Hao Wu Date: Wed, 6 May 2015 03:30:27 +0000 Subject: [PATCH] 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 --- MdePkg/Include/Protocol/FirmwareManagement.h | 10 +++++++++- 1 file changed, 9 insertions(+), 1 deletion(-) 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 // -- 2.39.2