ShellPkg: Enable Ctrl-C characters to be processed over serial interfaces that do not pass control key modifiers (like SimpleTextInOutSerial)

Contributed-under: TianoCore Contribution Agreement 1.0
Signed-off-by: Eugene Cohen eugene@hp.com
reviewed-by: Jaben Carsey jaben.carsey@intel.com

git-svn-id: svn://svn.code.sf.net/p/edk2/code/trunk/edk2/ShellPkg@13349 6f19259b-4bc3-4df7-8a09-765794883524
ShellPkg: Enable Runtime DXE drivers to make use of Shell libraries with the expectation that the driver is responsible for ensuring that they are only called when boot services are present.  Also adds a ShellCommandLib Depex for gEfiUnicodeCollation2ProtocolGuid to fix constructor crash when used by drivers.

Contributed-under: TianoCore Contribution Agreement 1.0
Signed-off-by: Eugene Cohen eugene@hp.com
reviewed-by: jaben carsey jaben.carsey@intel.com

git-svn-id: svn://svn.code.sf.net/p/edk2/code/trunk/edk2/ShellPkg@13380 6f19259b-4bc3-4df7-8a09-765794883524
ShellPkg: Fix display of 64-bit BARs in PCI dump on 32-bit systems.

Contributed-under: TianoCore Contribution Agreement 1.0
Signed-off-by: Eugene Cohen eugene@hp.com
reviewed-by: jaben carsey jaben.carsey@intel.com

git-svn-id: svn://svn.code.sf.net/p/edk2/code/trunk/edk2/ShellPkg@13381 6f19259b-4bc3-4df7-8a09-765794883524
ShellPkg: Fix en-US characters that are outside the Basic Latin character set range

Contributed-under: TianoCore Contribution Agreement 1.0
Signed-off-by: Samer El-Haj-Mahmoud elhaj@hp.com 
reviewed-by: Jaben Carsey jaben.carsey@intel.com

git-svn-id: svn://svn.code.sf.net/p/edk2/code/trunk/edk2/ShellPkg@13448 6f19259b-4bc3-4df7-8a09-765794883524
ShellPkg: Fix recursion when deleting all variables.

Signed-off-by: Dong Eric <eric.dong@intel.com>
Reviewed-by: Jaben Carsey <jaben.carsey@intel.com>


git-svn-id: svn://svn.code.sf.net/p/edk2/code/trunk/edk2/ShellPkg@13484 6f19259b-4bc3-4df7-8a09-765794883524
ShellPkg: update pci enumeration routine for platforms with multiple pci segments.

Contributed-under: TianoCore Contribution Agreement 1.0
Signed-off-by: Eugene Cohen eugene@hp.com
reviewed-by: jaben carsey <jaben.carsey@intel.com>

git-svn-id: svn://svn.code.sf.net/p/edk2/code/trunk/edk2/ShellPkg@13524 6f19259b-4bc3-4df7-8a09-765794883524
Add logic to check the execution break flag before executing the next command in a script file.

Signed-off-by: Eric Dong <eric.dong@intel.com>
Reviewed-by: Jaben carsey <Jaben.carsey@intel.com>

git-svn-id: svn://svn.code.sf.net/p/edk2/code/trunk/edk2/ShellPkg@13547 6f19259b-4bc3-4df7-8a09-765794883524
ShellPkg: Update string to number conversion to correctly stop at spaces if so requested.

Contributed-under: TianoCore Contribution Agreement 1.0
Signed-off-by: jaben carsey <jaben.carsey@intel.com>
Reviewed-by: Eric Dong <eric.dong@intel.com>

git-svn-id: svn://svn.code.sf.net/p/edk2/code/trunk/edk2/ShellPkg@13548 6f19259b-4bc3-4df7-8a09-765794883524
Roll back the change which caused build fail

Signed-off-by: Eric Dong <eric.dong@intel.com>

git-svn-id: svn://svn.code.sf.net/p/edk2/code/trunk/edk2/ShellPkg@13557 6f19259b-4bc3-4df7-8a09-765794883524
Fixed issues:
1.Refine the logic about show different attribute.
2.Refine the logic about allocate memory for variable name and data.

Signed-off-by: Eric Dong <eric.dong@intel.com>
Reviewed-by: Jaben Carsey <jaben.carsey@intel.com>

git-svn-id: svn://svn.code.sf.net/p/edk2/code/trunk/edk2/ShellPkg@13558 6f19259b-4bc3-4df7-8a09-765794883524
Fix build fail for GCC

Signed-off-by: Eric Dong <eric.dong@intel.com>

git-svn-id: svn://svn.code.sf.net/p/edk2/code/trunk/edk2/ShellPkg@13559 6f19259b-4bc3-4df7-8a09-765794883524
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: svn://svn.code.sf.net/p/edk2/code/trunk/edk2/ShellPkg@13565 6f19259b-4bc3-4df7-8a09-765794883524
Refine code to follow coding style.

Signed-off-by: Eric Dong <eric.dong@intel.com>
Reviewed-by: Jaben Carsey <Jaben.carsey@intel.com>

git-svn-id: svn://svn.code.sf.net/p/edk2/code/trunk/edk2/ShellPkg@13595 6f19259b-4bc3-4df7-8a09-765794883524
Fix a width count error in ClearScreen function.

Signed-off-by: Eric Dong <eric.dong@intel.com>
Reviewed-by: Jaben Carsey <Jaben.carsey@intel.com>

git-svn-id: svn://svn.code.sf.net/p/edk2/code/trunk/edk2/ShellPkg@13596 6f19259b-4bc3-4df7-8a09-765794883524
The format strings are using notations that require UINTNs (like "0x%02x") but a UINT64 type was being passed instead.  This patch adds a typecast to UINTN so the print processing works correctly.

Contributed-under: TianoCore Contribution Agreement 1.0
Signed-off-by: Eugene Cohen eugene@hp.com
Reviewed-by: Eric Dong <eric.dong@intel.com>

git-svn-id: svn://svn.code.sf.net/p/edk2/code/trunk/edk2/ShellPkg@13597 6f19259b-4bc3-4df7-8a09-765794883524
Refine get default language logic for command "drivers".

Signed-off-by: Eric Dong <eric.dong@intel.com>
Reviewed-by: Jaben Carsey <Jaben.carsey@intel.com>

git-svn-id: svn://svn.code.sf.net/p/edk2/code/trunk/edk2/ShellPkg@13603 6f19259b-4bc3-4df7-8a09-765794883524
Update the "ConErr" related variable name to the new one "ErrOut".

Signed-off-by: Eric Dong <eric.dong@intel.com>
Reviewed-by: Jaben Carsey <Jaben.carsey@intel.com>

git-svn-id: svn://svn.code.sf.net/p/edk2/code/trunk/edk2/ShellPkg@13641 6f19259b-4bc3-4df7-8a09-765794883524
Change Bcfg.c to use the new definition of EFI_KEY_OPTION.

Signed-off-by: Ruiyu Ni<ruiyu.ni@intel.com>
Reviewed-by: Eric Dong<eric.dong@intel.com>

git-svn-id: svn://svn.code.sf.net/p/edk2/code/trunk/edk2/ShellPkg@13678 6f19259b-4bc3-4df7-8a09-765794883524
Change Bcfg.c to use the new definition of EFI_KEY_OPTION.

Signed-off-by: Ruiyu Ni<ruiyu.ni@intel.com>
Reviewed-by: Eric Dong<eric.dong@intel.com>


git-svn-id: svn://svn.code.sf.net/p/edk2/code/trunk/edk2/ShellPkg@13681 6f19259b-4bc3-4df7-8a09-765794883524
Refine the code to make it more safely.

Signed-off-by: Eric Dong <eric.dong@intel.com>
Reviewed-by: Jaben Carsey <Jaben.carsey@intel.com>

git-svn-id: svn://svn.code.sf.net/p/edk2/code/trunk/edk2/ShellPkg@13696 6f19259b-4bc3-4df7-8a09-765794883524