From a872cc18e050de8fc5648ae2e14a0a19af346f2e Mon Sep 17 00:00:00 2001 From: "INDIA\\sachinganesh" Date: Fri, 18 Oct 2024 01:15:01 +0530 Subject: [PATCH] MdePkg: 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 --- MdePkg/Include/Protocol/FirmwareManagement.h | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/MdePkg/Include/Protocol/FirmwareManagement.h b/MdePkg/Include/Protocol/FirmwareManagement.h index e535bb697d..21220cf8aa 100644 --- a/MdePkg/Include/Protocol/FirmwareManagement.h +++ b/MdePkg/Include/Protocol/FirmwareManagement.h @@ -351,7 +351,10 @@ EFI_STATUS @retval EFI_INVALID_PARAMETER The Image was NULL. @retval EFI_NOT_FOUND The current image is not copied to the buffer. @retval EFI_UNSUPPORTED The operation is not supported. - @retval EFI_SECURITY_VIOLATION The operation could not be performed due to an authentication failure. + @retval EFI_SECURITY_VIOLATION The operation could not be completed due to an image corruption. + If the image is able to be read, the Image buffer will be updated + with the retrieved image contents. + @retval EFI_DEVICE_ERROR The image could not be read. **/ typedef