summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorQingyu <qingyu.shang@intel.com>2024-03-11 16:20:39 +0800
committerLiming Gao <gaoliming@byosoft.com.cn>2024-04-03 10:25:06 +0800
commitb79a64d26e750803b093c334361fe5a425bd20e5 (patch)
tree96bffd0e1add2980944ff9aebae9acf98dc5d682
parente043e3e3bfec98de90386235c8d4c62b34e06665 (diff)
downloadedk2-b79a64d26e750803b093c334361fe5a425bd20e5.tar.gz
edk2-b79a64d26e750803b093c334361fe5a425bd20e5.tar.bz2
edk2-b79a64d26e750803b093c334361fe5a425bd20e5.zip
ShellPkg: Update the comments of ReadKeyStroke and ReadKeyStrokeEx
Refer to Uefi spec 2.10 section 12.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 <gaoliming@byosoft.com.cn> Cc: Zhichao Gao <zhichao.gao@intel.com> Cc: Chao Li <lichao@loongson.cn> Signed-off-by: Qingyu <qingyu.shang@intel.com> Reviewed-by: Liming Gao <gaoliming@byosoft.com.cn> Reviewed-by: Zhichao Gao <zhichao.gao@intel.com>
-rw-r--r--ShellPkg/Application/Shell/ConsoleWrappers.c4
1 files changed, 3 insertions, 1 deletions
diff --git a/ShellPkg/Application/Shell/ConsoleWrappers.c b/ShellPkg/Application/Shell/ConsoleWrappers.c
index eae11370e4..dbffae30cd 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