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 298BC7803E3 for ; Tue, 12 Mar 2024 15:40:10 +0000 (UTC) DKIM-Signature: a=rsa-sha256; bh=2DBJaKCLyJ3NOF7FK7VYl4mg6jRypMN0+Pqn5iwIXiU=; c=relaxed/simple; d=groups.io; h=From:To:Cc:Subject:Date:Message-Id:In-Reply-To:References:MIME-Version:Precedence:List-Subscribe:List-Help:Sender:List-Id:Mailing-List:Delivered-To:Resent-Date:Reply-To:List-Unsubscribe-Post:List-Unsubscribe:Content-Transfer-Encoding; s=20240206; t=1710258008; v=1; b=aKE/nvc4iTWc/o/Aa8VDr0ApkAvdCUdz1tVbDfGag7fHrieu6JRGrEqBmXWX0upkUUXJK+2N Gj98n758Sxt6M/gs13XqHAx9MXUUaZWD3D8aAr09UViUdXfxohkei9+bpeYCQfpWZMwqZt+87ae vm6//sjX3Y19lhL7UD0vjALo0dz11miSI2wBTg2MFL2iVMjzmpv3qCvS0D2hlYJw0kF4six/mTr t4uU4zsadiEu1gGBtX7Q235imwNpOsc7xSPXbfcywxi7pT32a9GblNzTZ3c2uJPgXxc46iUPzFr AuhQYF9tvTFJF2fqnMkEyUkRfQr3sDrGZFEzDD9gL6VCQ== X-Received: by 127.0.0.2 with SMTP id BiHsYY7687511xnjX7vIJHFx; Tue, 12 Mar 2024 08:40:08 -0700 X-Received: from mgamail.intel.com (mgamail.intel.com [192.198.163.18]) by mx.groups.io with SMTP id smtpd.web10.57768.1710146508064491423 for ; Mon, 11 Mar 2024 01:41:53 -0700 X-IronPort-AV: E=McAfee;i="6600,9927,11009"; a="4640566" X-IronPort-AV: E=Sophos;i="6.07,116,1708416000"; d="scan'208";a="4640566" X-Received: from fmviesa007.fm.intel.com ([10.60.135.147]) by fmvoesa112.fm.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 11 Mar 2024 01:41:53 -0700 X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="6.07,116,1708416000"; d="scan'208";a="10984411" X-Received: from qingyush-mobl.ccr.corp.intel.com ([10.238.9.87]) by fmviesa007.fm.intel.com with ESMTP; 11 Mar 2024 01:41:51 -0700 From: "Qingyu" To: devel@edk2.groups.io Cc: Liming Gao , Zhichao Gao , Chao Li Subject: [edk2-devel] [PATCH 2/4] ShellPkg: Update the comments of ReadKeyStroke and ReadKeyStrokeEx Date: Mon, 11 Mar 2024 16:41:14 +0800 Message-Id: In-Reply-To: References: MIME-Version: 1.0 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 Resent-Date: Tue, 12 Mar 2024 08:40:04 -0700 Reply-To: devel@edk2.groups.io,qingyu.shang@intel.com List-Unsubscribe-Post: List-Unsubscribe=One-Click List-Unsubscribe: X-Gm-Message-State: 42Qfpb0sgea5dONdM1v1NBSix7686176AA= Content-Transfer-Encoding: 8bit X-GND-Status: LEGIT Authentication-Results: spool.mail.gandi.net; dkim=pass header.d=groups.io header.s=20240206 header.b="aKE/nvc4"; dmarc=fail reason="SPF not aligned (relaxed), DKIM not aligned (relaxed)" header.from=intel.com (policy=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 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(). Cc: Liming Gao Cc: Zhichao Gao Cc: Chao Li Signed-off-by: Qingyu --- ShellPkg/Application/Shell/ConsoleWrappers.c | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/ShellPkg/Application/Shell/ConsoleWrappers.c b/ShellPkg/Application/Shell/ConsoleWrappers.c index eae11370e4e0..dbffae30cdf5 100644 --- a/ShellPkg/Application/Shell/ConsoleWrappers.c +++ b/ShellPkg/Application/Shell/ConsoleWrappers.c @@ -67,7 +67,9 @@ FileBasedSimpleTextInReset ( @param[in] This A pointer to the SimpleTextIn structure. @param[in, out] Key A pointer to the Key structure to fill. - @retval EFI_SUCCESS The read was successful. + @retval EFI_SUCCESS The read was successful. + @retval EFI_UNSUPPORTED The device does not support the ability to read + keystroke data. **/ EFI_STATUS EFIAPI -- 2.39.1.windows.1 -=-=-=-=-=-=-=-=-=-=-=- Groups.io Links: You receive all messages sent to this group. View/Reply Online (#116682): https://edk2.groups.io/g/devel/message/116682 Mute This Topic: https://groups.io/mt/104886872/7686176 Group Owner: devel+owner@edk2.groups.io Unsubscribe: https://edk2.groups.io/g/devel/unsub [rebecca@openfw.io] -=-=-=-=-=-=-=-=-=-=-=-