diff options
author | Qingyu <qingyu.shang@intel.com> | 2024-03-11 16:24:50 +0800 |
---|---|---|
committer | Liming Gao <gaoliming@byosoft.com.cn> | 2024-04-03 10:25:06 +0800 |
commit | b3871141136ac643332587f33f2e4fa78d72eb07 (patch) | |
tree | e5e83278d5ea703274c794ecd50657a4d290eda1 /EmulatorPkg | |
parent | 7cc2010f46b87c9c1a7baefb060868e4ee17a753 (diff) | |
download | edk2-b3871141136ac643332587f33f2e4fa78d72eb07.zip edk2-b3871141136ac643332587f33f2e4fa78d72eb07.tar.gz edk2-b3871141136ac643332587f33f2e4fa78d72eb07.tar.bz2 |
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 <afish@apple.com>
Cc: Ray Ni <ray.ni@intel.com>
Cc: Michael D Kinney <michael.d.kinney@intel.com>
Cc: Liming Gao <gaoliming@byosoft.com.cn>
Signed-off-by: Qingyu <qingyu.shang@intel.com>
Reviewed-by: Liming Gao <gaoliming@byosoft.com.cn>
Diffstat (limited to 'EmulatorPkg')
-rw-r--r-- | EmulatorPkg/EmuGopDxe/GopInput.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/EmulatorPkg/EmuGopDxe/GopInput.c b/EmulatorPkg/EmuGopDxe/GopInput.c index a482939..94a4fcf 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.
**/
|