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 9E7A374003B for ; Tue, 12 Mar 2024 15:40:10 +0000 (UTC) DKIM-Signature: a=rsa-sha256; bh=OR9h+6myU8VerBwEDH35KlPLsgmekj3Lmq9S01dng3A=; 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=1710258009; v=1; b=g6q1KO4hVs+PBnHhkt5hIxPcZZ8PEGIq6gGVXEhpIQvi7ucpQofC0Zb4mOSDEOYMI7GvmCwk 5gzDMCitaxRSliiJ5Au4cKJ6Mpr0tfs0+L+WTWOOQqvNTliNx5G7e8xZ6B64k45mG1Xd9CohmQJ u0SFlY4dhJkP7w7ZGYN9fmn+3F0ZwVyQI2RqfYGdMWDFUPw0qx9QWb1CW4TbWV76AGr3oCdiusC H7fL1Xcj52ZBeKIG011q/z0PnuH3HfH2/8ID+fC4sj92EAVFCHKIzCld0ZsICzMYfInr5CRwxC3 wBAjspKNg8aaOCNG+gwzddf+ozdoayYzzGuYjAhE/hPGw== X-Received: by 127.0.0.2 with SMTP id 4QscYY7687511xtlrHH80cDl; Tue, 12 Mar 2024 08:40:09 -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:57 -0700 X-IronPort-AV: E=McAfee;i="6600,9927,11009"; a="4640574" X-IronPort-AV: E=Sophos;i="6.07,116,1708416000"; d="scan'208";a="4640574" 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:57 -0700 X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="6.07,116,1708416000"; d="scan'208";a="10984426" 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:56 -0700 From: "Qingyu" To: devel@edk2.groups.io Cc: Andrew Fish , Ray Ni , Michael D Kinney Subject: [edk2-devel] [PATCH 4/4] EmulatorPkg: Update the comments of ReadKeyStroke and ReadKeyStrokeEx Date: Mon, 11 Mar 2024 16:41:16 +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: lTBYgW5wn6EDxUOZBI4abexNx7686176AA= 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=g6q1KO4h; 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: Andrew Fish Cc: Ray Ni Cc: Michael D Kinney Signed-off-by: Qingyu --- EmulatorPkg/EmuGopDxe/GopInput.c | 2 ++ 1 file changed, 2 insertions(+) diff --git a/EmulatorPkg/EmuGopDxe/GopInput.c b/EmulatorPkg/EmuGopDxe/GopInput.c index a48293912d5a..94a4fcf26747 100644 --- a/EmulatorPkg/EmuGopDxe/GopInput.c +++ b/EmulatorPkg/EmuGopDxe/GopInput.c @@ -156,6 +156,7 @@ EmuGopSimpleTextInReset ( @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. **/ EFI_STATUS @@ -339,6 +340,7 @@ EmuGopSimpleTextInExResetEx ( 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. **/ -- 2.39.1.windows.1 -=-=-=-=-=-=-=-=-=-=-=- Groups.io Links: You receive all messages sent to this group. View/Reply Online (#116684): https://edk2.groups.io/g/devel/message/116684 Mute This Topic: https://groups.io/mt/104886874/7686176 Group Owner: devel+owner@edk2.groups.io Unsubscribe: https://edk2.groups.io/g/devel/unsub [rebecca@openfw.io] -=-=-=-=-=-=-=-=-=-=-=-