Roy Franz 
							
						 
					 
					
						
						
						
						
							
						
						
							014f93acab 
							
						 
					 
					
						
						
							
							Accept VT220 DEL and function keys for TTY terminal type  
						
						... 
						
						
						
						Accept the VT220 escape code [3~ as backspace for TtyTerm terminals.  This is
sent by many Linux terminals by default.  Also accept VT220 function keys
F1-F12, and VT100 F1-F4 keys as these are commonly sent by Linux terminals.
The VT220 escape codes are longer, and variable length so a new state is added
to the state machine along with a variable to construct the multibyte escape
sequence.
There are currently no ambiguous escape sequence prefixes accepted, so the TTY
terminal accepts escape sequences for a variety of terminals.  The goal is to
'just work' with as many terminals as possible, rather than properly emulating
any specific terminal.  Backspace, Del, and F10 have been tested on xterm,
rxvt, tmux, and screen.
Note: The existing vt100 function key handling does not match the vt100
documentation that I found, so I added the TTY terminal handling
of VT100 F1-F4 (really PF1-PF4 on vt100) separately.  The vt100
has no F5-F10 keys, so I don't know what the current vt100 code
is based on.
Contributed-under: TianoCore Contribution Agreement 1.0
Signed-off-by: Roy Franz <roy.franz@linaro.org>
Reviewed-by: Feng Tian <feng.tian@intel.com>
git-svn-id: https://svn.code.sf.net/p/edk2/code/trunk/edk2@17897  6f19259b-4bc3-4df7-8a09-765794883524 
						
					 
					
						2015-07-09 06:24:20 +00:00 
						 
				 
			
				
					
						
							
							
								Roy Franz 
							
						 
					 
					
						
						
						
						
							
						
						
							6e3227c88c 
							
						 
					 
					
						
						
							
							Add "TtyTerm" terminal type to TerminalDxe  
						
						... 
						
						
						
						This patch a adds new terminal type, TtyTerm, to TerminalDxe.  This terminal
type provides a place to add support for various *nix terminals that don't
behave like standard VT terminals.  The goal is to 'just work' with as many
terminals as possible, rather than properly emulating any one specific
terminal.
Signed-off-by: Roy Franz <roy.franz@linaro.org>
Contributed-under: TianoCore Contribution Agreement 1.0
Reviewed-by: Ard Biesheuvel <ard.biesheuvel@linaro.org>
Reviewed-by: Feng Tian <feng.tian@intel.com>
git-svn-id: https://svn.code.sf.net/p/edk2/code/trunk/edk2@17895  6f19259b-4bc3-4df7-8a09-765794883524 
						
					 
					
						2015-07-09 06:24:11 +00:00 
						 
				 
			
				
					
						
							
							
								Ruiyu Ni 
							
						 
					 
					
						
						
						
						
							
						
						
							5070befc3b 
							
						 
					 
					
						
						
							
							Report the setting variable failure to platform through the status code when core cannot handle the error.  
						
						... 
						
						
						
						Contributed-under: TianoCore Contribution Agreement 1.0
Signed-off-by: Ruiyu Ni <ruiyu.ni@intel.com>
Reviewed-by: Elvin Li <elvin.li@intel.com>
git-svn-id: https://svn.code.sf.net/p/edk2/code/trunk/edk2@15386  6f19259b-4bc3-4df7-8a09-765794883524 
						
					 
					
						2014-03-25 03:54:34 +00:00 
						 
				 
			
				
					
						
							
							
								Elvin Li 
							
						 
					 
					
						
						
						
						
							
						
						
							f07ccd0527 
							
						 
					 
					
						
						
							
							Fix several typo issues.  
						
						... 
						
						
						
						Contributed-under: TianoCore Contribution Agreement 1.0
Signed-off-by: Elvin Li <elvin.li@intel.com>
Reviewed-by: Liming Gao <liming.gao@intel.com>
git-svn-id: https://svn.code.sf.net/p/edk2/code/trunk/edk2@15227  6f19259b-4bc3-4df7-8a09-765794883524 
						
					 
					
						2014-02-12 01:21:51 +00:00 
						 
				 
			
				
					
						
							
							
								Elvin Li 
							
						 
					 
					
						
						
						
						
							
						
						
							b80eed7d6d 
							
						 
					 
					
						
						
							
							Remove redundant IsUnicodeFiFoEmpty ()in UnicodeFiFoRemoveOneKey().  
						
						... 
						
						
						
						Contributed-under: TianoCore Contribution Agreement 1.0
Signed-off-by: Elvin Li <elvin.li@intel.com>
Reviewed-by: Liming Gao <liming.gao@intel.com>
git-svn-id: https://svn.code.sf.net/p/edk2/code/trunk/edk2@15216  6f19259b-4bc3-4df7-8a09-765794883524 
						
					 
					
						2014-02-11 00:13:50 +00:00 
						 
				 
			
				
					
						
							
							
								niruiyu 
							
						 
					 
					
						
						
						
						
							
						
						
							402e4a9d77 
							
						 
					 
					
						
						
							
							Change the type of NotifyHandle from EFI_HANDLE to VOID * for SimpleTextInEx protocol.  
						
						... 
						
						
						
						Clean up the code to remove unnecessary NotifyHandle in the private data structure.
Signed-off-by: Ruiyu Ni<ruiyu.ni@intel.com>
Reviewed-by: Elvin Li<elvin.li@intel.com>
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@13565  6f19259b-4bc3-4df7-8a09-765794883524 
						
					 
					
						2012-07-30 03:50:42 +00:00 
						 
				 
			
				
					
						
							
							
								li-elvin 
							
						 
					 
					
						
						
						
						
							
						
						
							79d07c66d9 
							
						 
					 
					
						
						
							
							Updated GraphicsConsole and Terminal driver text mode initialization routine for easy mode extension in future.  
						
						... 
						
						
						
						Signed-off-by: li-elvin
Reviewed-by: hhtian
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@12787  6f19259b-4bc3-4df7-8a09-765794883524 
						
					 
					
						2011-11-25 08:35:00 +00:00 
						 
				 
			
				
					
						
							
							
								niruiyu 
							
						 
					 
					
						
						
						
						
							
						
						
							284ee2e829 
							
						 
					 
					
						
						
							
							Fix the comments to follow UEFI Spec regarding how to check an EFI_HANDLE is valid/invalid.  
						
						... 
						
						
						
						Signed-off-by: niruiyu
Reviewed-by: lgao4
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@11987  6f19259b-4bc3-4df7-8a09-765794883524 
						
					 
					
						2011-07-06 03:55:36 +00:00 
						 
				 
			
				
					
						
							
							
								niruiyu 
							
						 
					 
					
						
						
						
						
							
						
						
							f0368006b0 
							
						 
					 
					
						
						
							
							Fix the terminal driver to call hotkey callback even no one is calling ReadKeyStroke  
						
						... 
						
						
						
						git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@11562  6f19259b-4bc3-4df7-8a09-765794883524 
						
					 
					
						2011-04-19 06:51:44 +00:00 
						 
				 
			
				
					
						
							
							
								jljusten 
							
						 
					 
					
						
						
						
						
							
						
						
							9875a3e33e 
							
						 
					 
					
						
						
							
							MdeModulePkg Terminal: Add text mode for PcdConOutColumn/Row  
						
						... 
						
						
						
						Add a new text mode with a resolution of PcdConOutColumn x PcdConOutRow.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@11416  6f19259b-4bc3-4df7-8a09-765794883524 
						
					 
					
						2011-03-23 02:11:31 +00:00 
						 
				 
			
				
					
						
							
							
								hhtian 
							
						 
					 
					
						
						
						
						
							
						
						
							e5eed7d364 
							
						 
					 
					
						
						
							
							Update the copyright notice format  
						
						... 
						
						
						
						git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@10418  6f19259b-4bc3-4df7-8a09-765794883524 
						
					 
					
						2010-04-24 09:33:45 +00:00 
						 
				 
			
				
					
						
							
							
								vanjeff 
							
						 
					 
					
						
						
						
						
							
						
						
							e3dcffcc48 
							
						 
					 
					
						
						
							
							Enhanced TerminalDxe module not to install Simple Text(ex) input protocol and Simple Text output protocol, if the device path to the handle is not present in the ConIn and ConOut/ConErr environment variables.  
						
						... 
						
						
						
						git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@9852  6f19259b-4bc3-4df7-8a09-765794883524 
						
					 
					
						2010-01-28 12:29:25 +00:00 
						 
				 
			
				
					
						
							
							
								rsun3 
							
						 
					 
					
						
						
						
						
							
						
						
							aa75dfeccd 
							
						 
					 
					
						
						
							
							Fix some coding style issues in MdeModulePkg.  
						
						... 
						
						
						
						git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@9774  6f19259b-4bc3-4df7-8a09-765794883524 
						
					 
					
						2010-01-15 08:03:23 +00:00 
						 
				 
			
				
					
						
							
							
								gikidy 
							
						 
					 
					
						
						
						
						
							
						
						
							0254efc01e 
							
						 
					 
					
						
						
							
							Replace references to RFC 3066 with RFC 4646.  
						
						... 
						
						
						
						git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@8212  6f19259b-4bc3-4df7-8a09-765794883524 
						
					 
					
						2009-04-30 05:32:11 +00:00 
						 
				 
			
				
					
						
							
							
								vanjeff 
							
						 
					 
					
						
						
						
						
							
						
						
							f1aec6ccb4 
							
						 
					 
					
						
						
							
							1. Retired HotPlugDevice protocol.  
						
						... 
						
						
						
						2. Check devicepath node to get hot plug information. Currently, USB and PCCard device are checked.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@7673  6f19259b-4bc3-4df7-8a09-765794883524 
						
					 
					
						2009-02-25 07:54:57 +00:00 
						 
				 
			
				
					
						
							
							
								vanjeff 
							
						 
					 
					
						
						
						
						
							
						
						
							7fc80d4484 
							
						 
					 
					
						
						
							
							Retired gSimpleTextInExNotifyGuid, used local structure address to be notify handle.  
						
						... 
						
						
						
						git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@7666  6f19259b-4bc3-4df7-8a09-765794883524 
						
					 
					
						2009-02-25 05:35:12 +00:00 
						 
				 
			
				
					
						
							
							
								vanjeff 
							
						 
					 
					
						
						
						
						
							
						
						
							4986c56135 
							
						 
					 
					
						
						
							
							temporary roll back changing on gEfiHotPlugDevice.  
						
						... 
						
						
						
						git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@7640  6f19259b-4bc3-4df7-8a09-765794883524 
						
					 
					
						2009-02-24 08:03:42 +00:00 
						 
				 
			
				
					
						
							
							
								vanjeff 
							
						 
					 
					
						
						
						
						
							
						
						
							aa8f4f55ff 
							
						 
					 
					
						
						
							
							1. Retired HotPlugDevice protocol.  
						
						... 
						
						
						
						2. Check devicepath node to get hot plug information. Currently, USB and PCCard device are checked.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@7562  6f19259b-4bc3-4df7-8a09-765794883524 
						
					 
					
						2009-02-23 02:51:45 +00:00 
						 
				 
			
				
					
						
							
							
								vanjeff 
							
						 
					 
					
						
						
						
						
							
						
						
							9006e2bbe7 
							
						 
					 
					
						
						
							
							update format.  
						
						... 
						
						
						
						git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@7450  6f19259b-4bc3-4df7-8a09-765794883524 
						
					 
					
						2009-02-06 04:38:53 +00:00 
						 
				 
			
				
					
						
							
							
								vanjeff 
							
						 
					 
					
						
						
						
						
							
						
						
							5c998646f3 
							
						 
					 
					
						
						
							
							remove some internal functions and allocate some FIFO data structure instead of declaring in global variable. To save size.  
						
						... 
						
						
						
						git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@7416  6f19259b-4bc3-4df7-8a09-765794883524 
						
					 
					
						2009-02-03 07:25:00 +00:00 
						 
				 
			
				
					
						
							
							
								gikidy 
							
						 
					 
					
						
						
						
						
							
						
						
							8d4cd91527 
							
						 
					 
					
						
						
							
							1.Moved HotPlugDevice.h & SimpleTextInNotify.h from /Guid  to /Protocol  
						
						... 
						
						
						
						2.Modified the reference of two Guids in DEC file, Inf files and h files;
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@7294  6f19259b-4bc3-4df7-8a09-765794883524 
						
					 
					
						2009-01-16 07:33:08 +00:00 
						 
				 
			
				
					
						
							
							
								gikidy 
							
						 
					 
					
						
						
						
						
							
						
						
							00bfdbe10a 
							
						 
					 
					
						
						
							
							1.Review the comments;  
						
						... 
						
						
						
						2.Modify the extension comment for INF file. 
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@7207  6f19259b-4bc3-4df7-8a09-765794883524 
						
					 
					
						2009-01-08 07:25:05 +00:00 
						 
				 
			
				
					
						
							
							
								gikidy 
							
						 
					 
					
						
						
						
						
							
						
						
							11baadb671 
							
						 
					 
					
						
						
							
							Code scrub for Universal\Console\TerminalDxe.  
						
						... 
						
						
						
						git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@7066  6f19259b-4bc3-4df7-8a09-765794883524 
						
					 
					
						2008-12-17 09:34:06 +00:00 
						 
				 
			
				
					
						
							
							
								qhuang8 
							
						 
					 
					
						
						
						
						
							
						
						
							f3f2e05db8 
							
						 
					 
					
						
						
							
							Clean up to update the reference of the these macros:  
						
						... 
						
						
						
						EFI_SIGNATURE_16 -> SIGNATURE_16
  EFI_SIGNATURE_32 -> SIGNATURE_32
  EFI_SIGNATURE_64 -> SIGNATURE_64
  EFI_FIELD_OFFSET -> OFFSET_OF
  EFI_MAX_BIT      -> MAX_BIT
  EFI_MAX_ADDRESS  -> MAX_ADDRESS
These macros are not defined in UEFI spec. It makes more sense to use the equivalent macros in Base.h to avoid alias.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@7056  6f19259b-4bc3-4df7-8a09-765794883524 
						
					 
					
						2008-12-16 15:34:21 +00:00 
						 
				 
			
				
					
						
							
							
								vanjeff 
							
						 
					 
					
						
						
						
						
							
						
						
							9e604fe42d 
							
						 
					 
					
						
						
							
							ECC clean up.  
						
						... 
						
						
						
						git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@6405  6f19259b-4bc3-4df7-8a09-765794883524 
						
					 
					
						2008-11-05 08:44:03 +00:00 
						 
				 
			
				
					
						
							
							
								vanjeff 
							
						 
					 
					
						
						
						
						
							
						
						
							ed66e1bc0d 
							
						 
					 
					
						
						
							
							clean up the un-suitable ';' location when declaring the functions.  
						
						... 
						
						
						
						git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@5820  6f19259b-4bc3-4df7-8a09-765794883524 
						
					 
					
						2008-09-04 09:37:28 +00:00 
						 
				 
			
				
					
						
							
							
								lgao4 
							
						 
					 
					
						
						
						
						
							
						
						
							60c93673b3 
							
						 
					 
					
						
						
							
							The driver and library in MdePkg, MdeModulePkg and Nt32Pkg that don't depend on PI spec should include Uefi.h not PiDxe.h.  
						
						... 
						
						
						
						git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@5758  6f19259b-4bc3-4df7-8a09-765794883524 
						
					 
					
						2008-08-30 14:09:38 +00:00 
						 
				 
			
				
					
						
							
							
								vanjeff 
							
						 
					 
					
						
						
						
						
							
						
						
							ab76200c05 
							
						 
					 
					
						
						
							
							code scrub.  
						
						... 
						
						
						
						git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@5518  6f19259b-4bc3-4df7-8a09-765794883524 
						
					 
					
						2008-07-18 08:20:08 +00:00 
						 
				 
			
				
					
						
							
							
								vanjeff 
							
						 
					 
					
						
						
						
						
							
						
						
							8fd9831511 
							
						 
					 
					
						
						
							
							Added some functions header.  
						
						... 
						
						
						
						git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@5406  6f19259b-4bc3-4df7-8a09-765794883524 
						
					 
					
						2008-07-03 05:17:49 +00:00 
						 
				 
			
				
					
						
							
							
								vanjeff 
							
						 
					 
					
						
						
						
						
							
						
						
							e49ef4337f 
							
						 
					 
					
						
						
							
							Clean codes per ECC for TerminalDxe module.  
						
						... 
						
						
						
						git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@5389  6f19259b-4bc3-4df7-8a09-765794883524 
						
					 
					
						2008-07-01 06:34:04 +00:00 
						 
				 
			
				
					
						
							
							
								vanjeff 
							
						 
					 
					
						
						
						
						
							
						
						
							fb0b259e4e 
							
						 
					 
					
						
						
							
							apply for doxgen format.  
						
						... 
						
						
						
						git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@5038  6f19259b-4bc3-4df7-8a09-765794883524 
						
					 
					
						2008-04-10 08:49:28 +00:00 
						 
				 
			
				
					
						
							
							
								vanjeff 
							
						 
					 
					
						
						
						
						
							
						
						
							7347d5d6e6 
							
						 
					 
					
						
						
							
							1. Sync the tracker for supporting the ModeNumber larger than 2.  
						
						... 
						
						
						
						2. Fixed one bug in SetMode(), Cursor should not be enabled with mandatory.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@4594  6f19259b-4bc3-4df7-8a09-765794883524 
						
					 
					
						2008-01-21 09:40:59 +00:00 
						 
				 
			
				
					
						
							
							
								vanjeff 
							
						 
					 
					
						
						
						
						
							
						
						
							3012ce5cf7 
							
						 
					 
					
						
						
							
							1. Fixed bugs in DxeNetLib to meet consistence with network module DriverBinding protocol.  
						
						... 
						
						
						
						2. Sync bugs in console modules.
3. Sync bugs in PlatDriOverLib.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@4571  6f19259b-4bc3-4df7-8a09-765794883524 
						
					 
					
						2008-01-17 05:56:45 +00:00 
						 
				 
			
				
					
						
							
							
								qhuang8 
							
						 
					 
					
						
						
						
						
							
						
						
							66aa04e4e3 
							
						 
					 
					
						
						
							
							Update to support EFI_SIMPLE_INPUT_EX protocol  
						
						... 
						
						
						
						git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@4178  6f19259b-4bc3-4df7-8a09-765794883524 
						
					 
					
						2007-10-19 02:35:29 +00:00 
						 
				 
			
				
					
						
							
							
								qhuang8 
							
						 
					 
					
						
						
						
						
							
						
						
							5bca971e54 
							
						 
					 
					
						
						
							
							Update to support to produce Component Name and  & Component Name 2 protocol based on Feature flag PcdComponentNameDisable & PcdComponentName2Disable.  
						
						... 
						
						
						
						git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@4005  6f19259b-4bc3-4df7-8a09-765794883524 
						
					 
					
						2007-09-30 03:05:10 +00:00 
						 
				 
			
				
					
						
							
							
								AJFISH 
							
						 
					 
					
						
						
						
						
							
						
						
							ff37790d3d 
							
						 
					 
					
						
						
							
							Cleaned up EFI Console Variable usage  
						
						... 
						
						
						
						git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@3666  6f19259b-4bc3-4df7-8a09-765794883524 
						
					 
					
						2007-08-16 23:32:10 +00:00 
						 
				 
			
				
					
						
							
							
								AJFISH 
							
						 
					 
					
						
						
						
						
							
						
						
							6b88ceec9b 
							
						 
					 
					
						
						
							
							Updated to use new PCD settings  
						
						... 
						
						
						
						git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@3664  6f19259b-4bc3-4df7-8a09-765794883524 
						
					 
					
						2007-08-16 22:15:08 +00:00 
						 
				 
			
				
					
						
							
							
								AJFISH 
							
						 
					 
					
						
						
						
						
							
						
						
							97a079edfb 
							
						 
					 
					
						
						
							
							Updated modules to not depend on the IntelFrameworkPkg.  
						
						... 
						
						
						
						git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@3162  6f19259b-4bc3-4df7-8a09-765794883524 
						
					 
					
						2007-07-09 23:39:54 +00:00 
						 
				 
			
				
					
						
							
							
								xgu3 
							
						 
					 
					
						
						
						
						
							
						
						
							95276127e3 
							
						 
					 
					
						
						
							
							Check in following modules,  
						
						... 
						
						
						
						DxeIpl
ConPlatform
ConSplitter
GraphicsConsole
Terminal
DevicePath
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@3069  6f19259b-4bc3-4df7-8a09-765794883524 
						
					 
					
						2007-07-05 07:05:28 +00:00