From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mail02.groups.io (mail02.groups.io [66.175.222.108]) by spool.mail.gandi.net (Postfix) with ESMTPS id 33B96AC0848 for ; Wed, 10 Jan 2024 06:19:06 +0000 (UTC) DKIM-Signature: a=rsa-sha256; bh=LHnILWc7XV7A3ryWepQgEJbf0WW3EvJDa8NaymJVjsw=; c=relaxed/simple; d=groups.io; h=From:To:Cc:References:In-Reply-To:Subject:Date:Message-ID:MIME-Version:Thread-Index:Precedence:List-Subscribe:List-Help:Sender:List-Id:Mailing-List:Delivered-To:Reply-To:List-Unsubscribe-Post:List-Unsubscribe:Content-Type:Content-Transfer-Encoding:Content-Language; s=20140610; t=1704867545; v=1; b=QOyXXMGeQxucTZH+JRVTXwQsmHhEROpQ6C6xtngkCyGZucQxkOF/MCmIT1M1JMjsE6iWbI4U WYQvYTSYuntH2yX2UHLj+Tx1uhK3F6OkK75Zfpjyyfki+PiFlq+lYPvTXCFT4LK1D9/Eo+img3q 5X5cfWwAcOdLkwY2xdgf23dA= X-Received: by 127.0.0.2 with SMTP id FrxxYY7687511xA8PmKe1K7D; Tue, 09 Jan 2024 22:19:05 -0800 X-Received: from cxsh.intel-email.com (cxsh.intel-email.com [121.46.250.151]) by mx.groups.io with SMTP id smtpd.web11.6469.1704867543299881456 for ; Tue, 09 Jan 2024 22:19:05 -0800 X-Received: from cxsh.intel-email.com (localhost [127.0.0.1]) by cxsh.intel-email.com (Postfix) with ESMTP id 38878DDA7B7 for ; Wed, 10 Jan 2024 14:19:01 +0800 (CST) X-Received: from localhost (localhost [127.0.0.1]) by cxsh.intel-email.com (Postfix) with ESMTP id 34275DDA794 for ; Wed, 10 Jan 2024 14:19:01 +0800 (CST) X-Received: from mail.byosoft.com.cn (mail.byosoft.com.cn [58.240.74.242]) by cxsh.intel-email.com (Postfix) with SMTP id 94F9DDDA797 for ; Wed, 10 Jan 2024 14:18:57 +0800 (CST) X-Received: from DESKTOPS6D0PVI ([58.246.60.130]) (envelope-sender ) by 192.168.6.13 with ESMTP(SSL) for ; Wed, 10 Jan 2024 14:18:54 +0800 X-WM-Sender: gaoliming@byosoft.com.cn X-Originating-IP: 58.246.60.130 X-WM-AuthFlag: YES X-WM-AuthUser: gaoliming@byosoft.com.cn From: "gaoliming via groups.io" To: , Cc: "'Michael D Kinney'" , "'Zhiguang Liu'" , "'Yi Li'" References: <798578429cd1a0f5fa8b9ede43fc6b3a7e1684ce.1703749992.git.junfengx.guan@intel.com> In-Reply-To: <798578429cd1a0f5fa8b9ede43fc6b3a7e1684ce.1703749992.git.junfengx.guan@intel.com> Subject: =?UTF-8?B?5Zue5aSNOiBbZWRrMi1kZXZlbF0gW1BBVENIIDEvMV0gTWRlUGtnOiBVcGRhdGUgR2V0SGVhbHRoU3RhdHVzIGZ1bmN0aW9uIGRlc2NyaXB0aW9u?= Date: Wed, 10 Jan 2024 14:18:56 +0800 Message-ID: <021101da438c$e48eb0d0$adac1270$@byosoft.com.cn> MIME-Version: 1.0 Thread-Index: AQLSW2JC4IIdlk5Ck7FVJfiwFdEvrQIyoFX8rtDN+gA= Precedence: Bulk List-Subscribe: List-Help: Sender: devel@edk2.groups.io List-Id: Mailing-List: list devel@edk2.groups.io; contact devel+owner@edk2.groups.io Reply-To: devel@edk2.groups.io,gaoliming@byosoft.com.cn List-Unsubscribe-Post: List-Unsubscribe=One-Click List-Unsubscribe: X-Gm-Message-State: x8kdy4mF6MrAUynspnhbxmQyx7686176AA= Content-Type: text/plain; charset="gb2312" Content-Transfer-Encoding: quoted-printable Content-Language: zh-cn X-GND-Status: LEGIT Authentication-Results: spool.mail.gandi.net; dkim=pass header.d=groups.io header.s=20140610 header.b=QOyXXMGe; dmarc=none; spf=pass (spool.mail.gandi.net: domain of bounce@groups.io designates 66.175.222.108 as permitted sender) smtp.mailfrom=bounce@groups.io Reviewed-by: Liming Gao > -----=D3=CA=BC=FE=D4=AD=BC=FE----- > =B7=A2=BC=FE=C8=CB: devel@edk2.groups.io =B4=FA=B1= =ED Junfeng Guan > =B7=A2=CB=CD=CA=B1=BC=E4: 2023=C4=EA12=D4=C228=C8=D5 15:54 > =CA=D5=BC=FE=C8=CB: devel@edk2.groups.io > =B3=AD=CB=CD: Michael D Kinney ; Liming Gao > ; Zhiguang Liu ; Yi Li > > =D6=F7=CC=E2: [edk2-devel] [PATCH 1/1] MdePkg: Update GetHealthStatus fun= ction > description >=20 > Refer to Uefi spec 2.10 section 11.10.2, update the return value > for EFI_DRIVER_HEALTH_PROTOCOL.GetHealthStatus. >=20 > Signed-off-by: Junfeng Guan > Cc: Michael D Kinney > Cc: Liming Gao > Cc: Zhiguang Liu > Cc: Yi Li > --- > MdePkg/Include/Protocol/DriverHealth.h | 32 +++++++------------------- > 1 file changed, 8 insertions(+), 24 deletions(-) >=20 > diff --git a/MdePkg/Include/Protocol/DriverHealth.h > b/MdePkg/Include/Protocol/DriverHealth.h > index 9de025434ef3..9e1bd903f4be 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 >=20 > EfiDriverHealthStatusConfigurationRequired. >=20 > - @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. >=20 > @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. >=20 > + @retval EFI_UNSUPPORTED ControllerHandle is NULL and there > are no devices being > + managed by the driver. > + > @retval EFI_INVALID_PARAMETER HealthStatus is NULL. >=20 > @retval EFI_OUT_OF_RESOURCES MessageList is not NULL, and there > are not enough > -- > 2.26.2.windows.1 >=20 >=20 >=20 >=20 >=20 -=3D-=3D-=3D-=3D-=3D-=3D-=3D-=3D-=3D-=3D-=3D- Groups.io Links: You receive all messages sent to this group. View/Reply Online (#113515): https://edk2.groups.io/g/devel/message/113515 Mute This Topic: https://groups.io/mt/103636712/7686176 Group Owner: devel+owner@edk2.groups.io Unsubscribe: https://edk2.groups.io/g/devel/unsub [rebecca@openfw.io] -=3D-=3D-=3D-=3D-=3D-=3D-=3D-=3D-=3D-=3D-=3D-