diff options
author | INDIA\sachinganesh <sachinganesh@ami.com> | 2024-10-18 01:57:50 +0530 |
---|---|---|
committer | Liming Gao <gaoliming@byosoft.com.cn> | 2025-01-09 12:40:45 +0800 |
commit | 768adcd9c1483203a089078767fb0ef1d0048c3d (patch) | |
tree | 3de865d5b01fe8e9322abe2824af9ef079e3d454 /FmpDevicePkg | |
parent | e4d74bb592eb590722c2058483299b0a8c778c1d (diff) | |
download | edk2-768adcd9c1483203a089078767fb0ef1d0048c3d.tar.gz |
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>
Diffstat (limited to 'FmpDevicePkg')
-rw-r--r-- | FmpDevicePkg/FmpDxe/FmpDxe.c | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/FmpDevicePkg/FmpDxe/FmpDxe.c b/FmpDevicePkg/FmpDxe/FmpDxe.c index b04998ba04..ae37d3f8c4 100644 --- a/FmpDevicePkg/FmpDxe/FmpDxe.c +++ b/FmpDevicePkg/FmpDxe/FmpDxe.c @@ -559,7 +559,10 @@ cleanup: @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.
**/
EFI_STATUS
|