audk/MdeModulePkg/Universal/Console/TerminalDxe
Star Zeng d9b51b21e7 MdeModulePkg: TerminalDxe: avoid checking uninitialized variable
The SerialIo->GetControl() function is not required to set the
Control output parameter on error. Make sure we apply the
EFI_SERIAL_INPUT_BUFFER_EMPTY optimization in
TerminalConInTimerHandler() only if the SerialIo->GetControl()
function call set that bit in the Control variable.

Cc: Michael D Kinney <michael.d.kinney@intel.com>
Cc: Liming Gao <liming.gao@intel.com>
Cc: Feng Tian <feng.tian@intel.com>
Cc: Laszlo Ersek <lersek@redhat.com>
Contributed-under: TianoCore Contribution Agreement 1.0
Suggested-by: Laszlo Ersek <lersek@redhat.com>
Signed-off-by: Star Zeng <star.zeng@intel.com>
Reviewed-by: Michael Kinney <michael.d.kinney@intel.com>
Reviewed-by: Laszlo Ersek <lersek@redhat.com>

git-svn-id: https://svn.code.sf.net/p/edk2/code/trunk/edk2@18962 6f19259b-4bc3-4df7-8a09-765794883524
2015-11-26 08:46:20 +00:00
..
Ansi.c MdeModulePkg: TerminalDxe driver code clean up 2011-10-08 02:44:59 +00:00
ComponentName.c Fix the comments to follow UEFI Spec regarding how to check an EFI_HANDLE is valid/invalid. 2011-07-06 03:55:36 +00:00
Terminal.c MdeModulePkg/TerminalDxe: Some improvements 2015-07-16 08:50:43 +00:00
Terminal.h Accept VT220 DEL and function keys for TTY terminal type 2015-07-09 06:24:20 +00:00
TerminalConIn.c MdeModulePkg: TerminalDxe: avoid checking uninitialized variable 2015-11-26 08:46:20 +00:00
TerminalConOut.c Add "TtyTerm" terminal type to TerminalDxe 2015-07-09 06:24:11 +00:00
TerminalDxe.inf Add "TtyTerm" terminal type to TerminalDxe 2015-07-09 06:24:11 +00:00
TerminalDxe.uni MdeModulePkg: Convert non DOS format files to DOS format and remove unused module UNI files. 2014-09-03 08:39:12 +00:00
TerminalDxeExtra.uni MdeModulePkg: INF/DEC file updates to EDK II packages 2014-08-28 06:53:43 +00:00
Vtutf8.c MdeModulePkg: TerminalDxe driver code clean up 2011-10-08 02:44:59 +00:00