Skip to content

Commit 768adcd

Browse files
sachinamilgao4
authored andcommitted
FmpDevicePkg: Clarify return status of FMP Protocol GetImage()
Clarifed the return status of EFI_FIRMWARE_MANAGEMENT_PROTOCOL.GetImage(). As intended in UEFI 2.10 Specification. Signed-off-by: Sachin Ganesh <sachinganesh@ami.com>
1 parent e4d74bb commit 768adcd

1 file changed

Lines changed: 4 additions & 1 deletion

File tree

FmpDevicePkg/FmpDxe/FmpDxe.c

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -559,7 +559,10 @@ GetTheImageInfo (
559559
@retval EFI_INVALID_PARAMETER The Image was NULL.
560560
@retval EFI_NOT_FOUND The current image is not copied to the buffer.
561561
@retval EFI_UNSUPPORTED The operation is not supported.
562-
@retval EFI_SECURITY_VIOLATION The operation could not be performed due to an authentication failure.
562+
@retval EFI_SECURITY_VIOLATION The operation could not be completed due to an image corruption.
563+
If the image is able to be read, the Image buffer will be updated
564+
with the retrieved image contents.
565+
@retval EFI_DEVICE_ERROR The image could not be read.
563566
564567
**/
565568
EFI_STATUS

0 commit comments

Comments
 (0)