summaryrefslogtreecommitdiffstats
path: root/MdePkg
diff options
context:
space:
mode:
authorJunfeng Guan <junfengx.guan@intel.com>2023-12-28 14:57:55 +0800
committermergify[bot] <37929162+mergify[bot]@users.noreply.github.com>2024-01-11 03:04:58 +0000
commit889535caf8869e3d4818b75f95f2fc910c84a4d2 (patch)
treede136a1902b89b369b49dce6d18fae2dc704bf86 /MdePkg
parente7cfdc5f14b408e85fcbcb335aae7c15bbce4dfb (diff)
downloadedk2-889535caf8869e3d4818b75f95f2fc910c84a4d2.tar.gz
edk2-889535caf8869e3d4818b75f95f2fc910c84a4d2.tar.bz2
edk2-889535caf8869e3d4818b75f95f2fc910c84a4d2.zip
MdePkg: Update GetHealthStatus function description
Refer to Uefi spec 2.10 section 11.10.2, update the return value for EFI_DRIVER_HEALTH_PROTOCOL.GetHealthStatus. Signed-off-by: Junfeng Guan <junfengx.guan@intel.com> Cc: Michael D Kinney <michael.d.kinney@intel.com> Cc: Liming Gao <gaoliming@byosoft.com.cn> Cc: Zhiguang Liu <zhiguang.liu@intel.com> Reviewed-by: Liming Gao <gaoliming@byosoft.com.cn>
Diffstat (limited to 'MdePkg')
-rw-r--r--MdePkg/Include/Protocol/DriverHealth.h32
1 files changed, 8 insertions, 24 deletions
diff --git a/MdePkg/Include/Protocol/DriverHealth.h b/MdePkg/Include/Protocol/DriverHealth.h
index 9de025434e..9e1bd903f4 100644
--- a/MdePkg/Include/Protocol/DriverHealth.h
+++ b/MdePkg/Include/Protocol/DriverHealth.h
@@ -137,35 +137,19 @@ EFI_STATUS
will only be returned with a HealthStatus value of
EfiDriverHealthStatusConfigurationRequired.
- @retval EFI_SUCCESS ControllerHandle is NULL, and all the controllers
- managed by this driver specified by This have a health
- status of EfiDriverHealthStatusHealthy with no warning
- messages to be returned. The ChildHandle, HealthStatus,
- MessageList, and FormList parameters are ignored.
-
- @retval EFI_DEVICE_ERROR ControllerHandle is NULL, and one or more of the
- controllers managed by this driver specified by This
- do not have a health status of EfiDriverHealthStatusHealthy.
- The ChildHandle, HealthStatus, MessageList, and
- FormList parameters are ignored.
-
- @retval EFI_DEVICE_ERROR ControllerHandle is NULL, and one or more of the
- controllers managed by this driver specified by This
- have one or more warning and/or error messages.
- The ChildHandle, HealthStatus, MessageList, and
- FormList parameters are ignored.
-
- @retval EFI_SUCCESS ControllerHandle is not NULL and the health status
- of the controller specified by ControllerHandle and
- ChildHandle was returned in HealthStatus. A list
- of warning and error messages may be optionally
- returned in MessageList, and a list of HII Forms
- may be optionally returned in FormList.
+ @retval EFI_SUCCESS The health status of the controller specified by
+ ControllerHandle and ChildHandle was returned in HealthStatus.
+ A list of warning and error messages may be optionally
+ returned in MessageList, and an HII Form may be optionally
+ specified by FormHiiHandle.
@retval EFI_UNSUPPORTED ControllerHandle is not NULL, and the controller
specified by ControllerHandle and ChildHandle is not
currently being managed by the driver specified by This.
+ @retval EFI_UNSUPPORTED ControllerHandle is NULL and there are no devices being
+ managed by the driver.
+
@retval EFI_INVALID_PARAMETER HealthStatus is NULL.
@retval EFI_OUT_OF_RESOURCES MessageList is not NULL, and there are not enough