From e043e3e3bfec98de90386235c8d4c62b34e06665 Mon Sep 17 00:00:00 2001 From: Qingyu Date: Mon, 11 Mar 2024 16:18:41 +0800 Subject: MdeModulePkg: 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 Cc: Michael D Kinney Signed-off-by: Qingyu Reviewed-by: Liming Gao --- MdeModulePkg/Universal/Console/TerminalDxe/Terminal.h | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'MdeModulePkg/Universal/Console/TerminalDxe/Terminal.h') diff --git a/MdeModulePkg/Universal/Console/TerminalDxe/Terminal.h b/MdeModulePkg/Universal/Console/TerminalDxe/Terminal.h index 4238f84..7581cda 100644 --- a/MdeModulePkg/Universal/Console/TerminalDxe/Terminal.h +++ b/MdeModulePkg/Universal/Console/TerminalDxe/Terminal.h @@ -223,6 +223,8 @@ TerminalConInReset ( @retval EFI_SUCCESS The keystroke information is returned successfully. @retval EFI_NOT_READY There is no keystroke data available. @retval EFI_DEVICE_ERROR The dependent serial device encounters error. + @retval EFI_UNSUPPORTED The device does not support the ability to read + keystroke data. **/ EFI_STATUS @@ -303,6 +305,8 @@ TerminalConInResetEx ( @retval EFI_DEVICE_ERROR The keystroke information was not returned due to hardware errors. @retval EFI_INVALID_PARAMETER KeyData is NULL. + @retval EFI_UNSUPPORTED The device does not support the ability to read + keystroke data. **/ EFI_STATUS -- cgit v1.1