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 2716278003C for ; Thu, 11 Jan 2024 02:18:20 +0000 (UTC) DKIM-Signature: a=rsa-sha256; bh=CSMN3LTNyVxP9xR2VIzwff+9HF23wmrrWtf3D/2KgcI=; 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=1704939498; v=1; b=nKc4PK3wy04VXw8jZ4sqYvbrJ7GK9UP2wISKtl+UR9MmxsXJbz/al54ruRMwI6fOy3tjRSyf CBNQodHRMAtplzQRfMJImnuWhLqxN5pu8MxZumKmk41M5IxI5QiDtadrrBjLmWvmGcZH3y6DGiC qq/SmK/Q9fsmoVrrWY0sDrdM= X-Received: by 127.0.0.2 with SMTP id UAosYY7687511xRClXB13KAa; Wed, 10 Jan 2024 18:18:18 -0800 X-Received: from cxsh.intel-email.com (cxsh.intel-email.com [121.46.250.151]) by mx.groups.io with SMTP id smtpd.web10.2765.1704939497495931108 for ; Wed, 10 Jan 2024 18:18:18 -0800 X-Received: from cxsh.intel-email.com (localhost [127.0.0.1]) by cxsh.intel-email.com (Postfix) with ESMTP id DD656DDA7BB for ; Thu, 11 Jan 2024 10:18:15 +0800 (CST) X-Received: from localhost (localhost [127.0.0.1]) by cxsh.intel-email.com (Postfix) with ESMTP id D8D64DDA7A9 for ; Thu, 11 Jan 2024 10:18:15 +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 1CAB4DDA788 for ; Thu, 11 Jan 2024 10:18:12 +0800 (CST) X-Received: from DESKTOPS6D0PVI ([58.41.105.18]) (envelope-sender ) by 192.168.6.13 with ESMTP(SSL) for ; Thu, 11 Jan 2024 10:18:09 +0800 X-WM-Sender: gaoliming@byosoft.com.cn X-Originating-IP: 58.41.105.18 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: <0426635097cf9f7cc4e8ff6a3ec7fb75cd50fdbf.1703123261.git.junfengx.guan@intel.com> In-Reply-To: <0426635097cf9f7cc4e8ff6a3ec7fb75cd50fdbf.1703123261.git.junfengx.guan@intel.com> Subject: =?UTF-8?B?5Zue5aSNOiBbZWRrMi1kZXZlbF0gW1BBVENIIDEvMV0gTWRlUGtnOiBVcGRhdGVkIHRoZSBjb21tZW50cyBvZiBFRklfU1lTVEVNX1RBQkxFIGFuZCBSZWFkS2V5U3Ryb2tl?= Date: Thu, 11 Jan 2024 10:18:10 +0800 Message-ID: <02ea01da4434$6c8a44c0$459ece40$@byosoft.com.cn> MIME-Version: 1.0 Thread-Index: AQEyRXL2pV78cWEqRaHWDLkqhQiMHAGO66UashdmXuA= 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: 9gEwrJKG7Qe0bArA3p8hu4QMx7686176AA= 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=nKc4PK3w; 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=C221=C8=D5 10:02 > =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: Updated the comments of > EFI_SYSTEM_TABLE and ReadKeyStroke >=20 > 1. Refer to Uefi spec 2.10 section 4.3.1, Updated the comments of > EFI_SYSTEM_TABLE to satisfy ConIn/ConOut/StdErr requirements. > 2. Refer to Uefi spec 2.10 section 13.3.3, Add a new retval > EFI_UNSUPPORTED to > EFI_SIMPLE_TEXT_INPUT_EX_PROTOCOL.ReadKeyStrokeEx > and EFI_SIMPLE_TEXT_INPUT_PROTOCOL.ReadKeyStroke(). >=20 > Signed-off-by: Junfeng Guan > Cc: Michael D Kinney > Cc: Liming Gao > Cc: Zhiguang Liu > Cc: Yi Li > --- > MdePkg/Include/Protocol/SimpleTextIn.h | 1 + > MdePkg/Include/Protocol/SimpleTextInEx.h | 1 + > MdePkg/Include/Uefi/UefiSpec.h | 10 +++++++--- > 3 files changed, 9 insertions(+), 3 deletions(-) >=20 > diff --git a/MdePkg/Include/Protocol/SimpleTextIn.h > b/MdePkg/Include/Protocol/SimpleTextIn.h > index 838fae279e71..b9d48472dd7f 100644 > --- a/MdePkg/Include/Protocol/SimpleTextIn.h > +++ b/MdePkg/Include/Protocol/SimpleTextIn.h > @@ -100,6 +100,7 @@ EFI_STATUS > @retval EFI_NOT_READY There was no keystroke data available. > @retval EFI_DEVICE_ERROR The keystroke information was not returned > due to > hardware errors. > + @retval EFI_UNSUPPORTED The device does not support the ability to > read keystroke data. >=20 > **/ > typedef > diff --git a/MdePkg/Include/Protocol/SimpleTextInEx.h > b/MdePkg/Include/Protocol/SimpleTextInEx.h > index 8317325d9b82..f33893768efb 100644 > --- a/MdePkg/Include/Protocol/SimpleTextInEx.h > +++ b/MdePkg/Include/Protocol/SimpleTextInEx.h > @@ -186,6 +186,7 @@ typedef struct { > @retval EFI_NOT_READY There was no keystroke data available. > @retval EFI_DEVICE_ERROR The keystroke information was not returned > due to > hardware errors. > + @retval EFI_UNSUPPORTED The device does not support the ability to > read keystroke data. >=20 >=20 > **/ > diff --git a/MdePkg/Include/Uefi/UefiSpec.h > b/MdePkg/Include/Uefi/UefiSpec.h > index 5de00e8ea2af..c4952bd5f0d3 100644 > --- a/MdePkg/Include/Uefi/UefiSpec.h > +++ b/MdePkg/Include/Uefi/UefiSpec.h > @@ -2006,7 +2006,8 @@ typedef struct { > UINT32 FirmwareRevision; > /// > /// The handle for the active console input device. This handle must > support > - /// EFI_SIMPLE_TEXT_INPUT_PROTOCOL and > EFI_SIMPLE_TEXT_INPUT_EX_PROTOCOL. > + /// EFI_SIMPLE_TEXT_INPUT_PROTOCOL and > EFI_SIMPLE_TEXT_INPUT_EX_PROTOCOL. If > + /// there is no active console, these protocols must still be present. > /// > EFI_HANDLE ConsoleInHandle; > /// > @@ -2015,7 +2016,9 @@ typedef struct { > /// > EFI_SIMPLE_TEXT_INPUT_PROTOCOL *ConIn; > /// > - /// The handle for the active console output device. > + /// The handle for the active console output device. This handle must > support the > + /// EFI_SIMPLE_TEXT_OUTPUT_PROTOCOL. If there is no active console, > these protocols > + /// must still be present. > /// > EFI_HANDLE ConsoleOutHandle; > /// > @@ -2025,7 +2028,8 @@ typedef struct { > EFI_SIMPLE_TEXT_OUTPUT_PROTOCOL *ConOut; > /// > /// The handle for the active standard error console device. > - /// This handle must support the EFI_SIMPLE_TEXT_OUTPUT_PROTOCOL. > + /// This handle must support the EFI_SIMPLE_TEXT_OUTPUT_PROTOCOL. > If there > + /// is no active console, this protocol must still be present. > /// > EFI_HANDLE StandardErrorHandle; > /// > -- > 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 (#113571): https://edk2.groups.io/g/devel/message/113571 Mute This Topic: https://groups.io/mt/103655475/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-