diff options
author | Hao Wu <hao.a.wu@intel.com> | 2015-05-06 03:30:27 +0000 |
---|---|---|
committer | hwu1225 <hwu1225@Edk2> | 2015-05-06 03:30:27 +0000 |
commit | 18baa558a4a0bf5893083723b322582015c0b2a7 (patch) | |
tree | d5df53c2adfc30204aca26a86023383026358f62 | |
parent | b2e1b498bd0b708b58c377f32262f30c1bc9b24b (diff) | |
download | edk2-platforms-18baa558a4a0bf5893083723b322582015c0b2a7.tar.xz |
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 <hao.a.wu@intel.com>
Reviewed-by: Liming Gao <liming.gao@intel.com>
git-svn-id: https://svn.code.sf.net/p/edk2/code/trunk/edk2@17321 6f19259b-4bc3-4df7-8a09-765794883524
-rw-r--r-- | MdePkg/Include/Protocol/FirmwareManagement.h | 10 |
1 files changed, 9 insertions, 1 deletions
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
//
|