From b3871141136ac643332587f33f2e4fa78d72eb07 Mon Sep 17 00:00:00 2001 From: Qingyu Date: Mon, 11 Mar 2024 16:24:50 +0800 Subject: EmulatorPkg: 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: Andrew Fish Cc: Ray Ni Cc: Michael D Kinney Cc: Liming Gao Signed-off-by: Qingyu Reviewed-by: Liming Gao --- EmulatorPkg/EmuGopDxe/GopInput.c | 2 ++ 1 file changed, 2 insertions(+) diff --git a/EmulatorPkg/EmuGopDxe/GopInput.c b/EmulatorPkg/EmuGopDxe/GopInput.c index a48293912d..94a4fcf267 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. **/ -- cgit v1.2.3