MdeModulePkg/TerminalDxe: Extend the terminal console support types
REF: https://bugzilla.tianocore.org/show_bug.cgi?id=2186 Extend the support types of terminal console driver. New added types are Linux, XtermR6, VT400 and SCO. Refer to https://www.ssh.com/ssh/putty/putty-manuals/0.68/Chapter4.html#config-funkeys Add the missing VT100+ function keys map. Add F1-F12 function keys map for Linux, XtermR6, VT400 and SCO. Cc: Jian J Wang <jian.j.wang@intel.com> Cc: Hao A Wu <hao.a.wu@intel.com> Cc: Ray Ni <ray.ni@intel.com> Cc: Liming Gao <liming.gao@intel.com> Signed-off-by: Zhichao Gao <zhichao.gao@intel.com> Reviewed-by: Ray Ni <ray.ni@intel.com>
This commit is contained in:
@@ -2,7 +2,7 @@
|
||||
Produces Simple Text Input Protocol, Simple Text Input Extended Protocol and
|
||||
Simple Text Output Protocol upon Serial IO Protocol.
|
||||
|
||||
Copyright (c) 2006 - 2018, Intel Corporation. All rights reserved.<BR>
|
||||
Copyright (c) 2006 - 2019, Intel Corporation. All rights reserved.<BR>
|
||||
SPDX-License-Identifier: BSD-2-Clause-Patent
|
||||
|
||||
**/
|
||||
@@ -28,7 +28,11 @@ EFI_GUID *mTerminalType[] = {
|
||||
&gEfiVT100Guid,
|
||||
&gEfiVT100PlusGuid,
|
||||
&gEfiVTUTF8Guid,
|
||||
&gEfiTtyTermGuid
|
||||
&gEfiTtyTermGuid,
|
||||
&gEdkiiLinuxTermGuid,
|
||||
&gEdkiiXtermR6Guid,
|
||||
&gEdkiiVT400Guid,
|
||||
&gEdkiiSCOTermGuid
|
||||
};
|
||||
|
||||
|
||||
@@ -37,7 +41,11 @@ CHAR16 *mSerialConsoleNames[] = {
|
||||
L"VT-100 Serial Console",
|
||||
L"VT-100+ Serial Console",
|
||||
L"VT-UTF8 Serial Console",
|
||||
L"Tty Terminal Serial Console"
|
||||
L"Tty Terminal Serial Console",
|
||||
L"Linux Terminal Serial Console",
|
||||
L"Xterm R6 Serial Console",
|
||||
L"VT-400 Serial Console",
|
||||
L"SCO Terminal Serial Console"
|
||||
};
|
||||
|
||||
TERMINAL_DEV mTerminalDevTemplate = {
|
||||
@@ -187,7 +195,8 @@ TerminalDriverBindingSupported (
|
||||
|
||||
}
|
||||
//
|
||||
// only supports PC ANSI, VT100, VT100+, VT-UTF8, and TtyTerm terminal types
|
||||
// only supports PC ANSI, VT100, VT100+, VT-UTF8, TtyTerm
|
||||
// Linux, XtermR6, VT400 and SCO terminal types
|
||||
//
|
||||
if (TerminalTypeFromGuid (&Node->Guid) == ARRAY_SIZE (mTerminalType)) {
|
||||
return EFI_UNSUPPORTED;
|
||||
|
Reference in New Issue
Block a user