5e32460d80
ShellPkg/UefiHandleParsing: Show handle's loaded image device path
...
The patch fixed a bug in UefiHandleParsingLib to show handle's loaded
image device path.
Contributed-under: TianoCore Contribution Agreement 1.0
Signed-off-by: Ruiyu Ni <ruiyu.ni@intel.com >
Reviewed-by: Jaben Carsey <jaben.carsey@intel.com >
2016-06-21 15:59:26 +08:00
e918029fbc
ShellPkg/UefiHandleParsingLib.c: Unify EOL and remove trailing space
...
The patch doesn't change any code logic.
Contributed-under: TianoCore Contribution Agreement 1.0
Signed-off-by: Ruiyu Ni <ruiyu.ni@intel.com >
Cc: Jiewen Yao <jiewen.yao@intel.com >
Reviewed-by: Jaben Carsey <jaben.carsey@intel.com >
2016-06-17 15:43:11 +08:00
2528e47cb2
ShellPkg: Use ".." to indicate device path is partially displayed
...
The output of "dh <handle>" originally is like below:
12C: USBIO DevicePath(x0)/Pci(0x14,0x0)/USB(0x6,0x0))
The device path part is very confusing. Use ".." in front of the
partially displayed device path is better and it also aligns to
the example output in Shell spec.
12C: USBIO DevicePath(..)/Pci(0x14,0x0)/USB(0x6,0x0))
Contributed-under: TianoCore Contribution Agreement 1.0
Signed-off-by: Ruiyu Ni <ruiyu.ni@intel.com >
Reviewed-by: Jiewen Yao <jiewen.yao@intel.com >
Reviewed-by: Jaben Carsey <jaben.carsey@intel.com >
2016-06-17 15:43:11 +08:00
6d3911d406
ShellPkg: Add NULL pointer check.
...
Add pointer check to avoid NULL pointer dereferenced.
Cc: Jaben Carsey <jaben.carsey@intel.com >
Cc: Tapan Shah <tapandshah@hpe.com >
Contributed-under: TianoCore Contribution Agreement 1.0
Signed-off-by: Qiu Shumin <shumin.qiu@intel.com >
Reviewed-by: Tapan Shah <tapandshah@hpe.com >
2016-04-29 13:23:19 +08:00
a5b731e085
ShellPkg: Fix typos and EDK2 coding style issues
...
Fixing typos and EDK2 coding style issues found from previous submit
Contributed-under: TianoCore Contribution Agreement 1.0
Signed-off-by: Tapan Shah <tapandshah@hpe.com >
Reviewed-by: Samer El-Haj-Mahmoud <elhaj@hpe.com >
Reviewed-by: Jaben Carsey <jaben.carsey@intel.com >
2016-04-27 09:29:35 -07:00
cf6c1550cb
ShellPkg: Enahance 'dh' command to add more protocols decoding support
...
Adding EdidDiscovered, EdidActive protocol decode support a in 'dh' command.
Extending GraphicsOutput protocol decoding to list all supported GOP resolutions.
Contributed-under: TianoCore Contribution Agreement 1.0
Signed-off-by: Tapan Shah <tapandshah@hpe.com >
Reviewed-by: Samer El-Haj-Mahmoud <elhaj@hpe.com >
Reviewed-by: Jaben Carsey <jaben.carsey@intel.com >
2016-04-25 09:08:06 -07:00
06ac66ecb6
ShellPkg: Update Guid/Protocol usages in INF files.
...
Contributed-under: TianoCore Contribution Agreement 1.0
Signed-off-by: Liming Gao <liming.gao@intel.com >
Reviewed-by: Shumin Qiu <shumin.qiu@intel.com >
2016-04-13 14:52:59 +08:00
ac14846aad
ShellPkg: Refine the comparisons code in ShellPkg.
...
For Boolean values not use explicit comparisons to TRUE or FALSE. For non-Boolean
comparisons we should use a compare operator.
Contributed-under: TianoCore Contribution Agreement 1.0
Signed-off-by: Qiu Shumin <shumin.qiu@intel.com >
Reviewed-by: Jaben Carsey <jaben.carsey@intel.com >
2016-03-29 21:46:35 +08:00
5d54bbec2c
ShellPkg/UefiHandleParsingLib: Fix GUID reference
...
Pass in GUID* for the GUID reference in a CatSPrint statement. Issue was noticed when running "dh -d -v" command on a system with a PCI NIC installed.
Contributed-under: TianoCore Contribution Agreement 1.0
Signed-off-by: Thomas Palmer <thomas.palmer@hpe.com >
Reviewed-by: Qiu Shumin <shumin.qiu@intel.com >
Reviewed-by: Samer El-Haj-Mahmoud <elhaj@hpe.com >
2016-03-25 10:06:55 +08:00
8985d6127a
ShellPkg: Modify the 'dh' Shell command to dump the Firmware Management Protocol Image Descriptor Information.
...
Modify 'dh' shell command to dump FirmwareManagement Protocol information.
Add FirmwareManagement image descriptor V1 and V2 structure definition in UefiHandleParsingLib.h to support decoding V1/V2 revisions.
Contributed-under: TianoCore Contribution Agreement 1.0
Signed-off-by: Tapan Shah <tapandshah@hpe.com >
Reviewed-by: Qiu Shumin <shumin.qiu@intel.com >
Reviewed-by: Jaben Carsey <jaben.carsey@intel.com >
2016-03-24 11:23:12 +08:00
ccdf8bcfe4
ShellPkg: Update 'dh' command to reflect correct driver handle information
...
'dh' command shows Supported EFI Specification Version value as DriverVersion. Changing it to 'SupportedEfiSpecVersion' to provide more accurate information.
Contributed-under: TianoCore Contribution Agreement 1.0
Signed-off-by: Tapan Shah <tapandshah@hpe.com >
Reviewed-by: Samer El-Haj-Mahmoud <elhaj@hpe.com >
Reviewed-by: Jaben Carsey <jaben.carsey@intel.com >
git-svn-id: https://svn.code.sf.net/p/edk2/code/trunk/edk2@19648 6f19259b-4bc3-4df7-8a09-765794883524
2016-01-15 17:05:18 +00:00
256aa6d04a
ShellPkg: Add AIP IPv6 UNDI support to Shell dh
...
Update Shell DH command to decode and print the value of gEfiAdapterInfoUndiIpv6SupportGuid AIP instance.
Contributed-under: TianoCore Contribution Agreement 1.0
Signed-off-by: Samer El-Haj-Mahmoud <elhaj@hpe.com >
Reviewed-by: Jaben Carsey <jaben.carsey@intel.com >
git-svn-id: https://svn.code.sf.net/p/edk2/code/trunk/edk2@19437 6f19259b-4bc3-4df7-8a09-765794883524
2015-12-22 02:13:18 +00:00
c2788f1c2b
ShellPkg: Make 'dh' support showing all spec defined protocols.
...
When using 'dh' to dump all protocols installed on a handle, some of
them are shown as 'UnknownDevice'.
Device patch make 'dh' support all spec defined protocols.
Contributed-under: TianoCore Contribution Agreement 1.0
Signed-off-by: Jaben Carsey <jaben.carsey@intel.com >
Reviewed-by: Qiu Shumin <shumin.qiu@intel.com >
Reviewed-by: Ruiyu Ni <ruiyu.ni@intel.com >
Reviewed-by: Samer El-Haj-Mahmoud <samer.el-haj-mahmoud@hpe.com >
git-svn-id: https://svn.code.sf.net/p/edk2/code/trunk/edk2@19177 6f19259b-4bc3-4df7-8a09-765794883524
2015-12-09 23:08:07 +00:00
e329f98b86
ShellPkg: Convert all .uni files to utf-8
...
To convert these files I ran:
$ python3 BaseTools/Scripts/ConvertUni.py ShellPkg
Cc: Jaben Carsey <jaben.carsey@intel.com >
Cc: Shumin Qiu <shumin.qiu@intel.com >
Contributed-under: TianoCore Contribution Agreement 1.0
Signed-off-by: Jordan Justen <jordan.l.justen@intel.com >
Reviewed-by: Jaben Carsey <jaben.carsey@intel.com >
git-svn-id: https://svn.code.sf.net/p/edk2/code/trunk/edk2@19176 6f19259b-4bc3-4df7-8a09-765794883524
2015-12-09 23:07:58 +00:00
1a6f74d988
ShellPkg: Corrected CatSPrint usage to prevent memory leaks.
...
CatSPrint allocates return buffer for the caller. The caller doesn't have to allocate one, and has to free the used buffers.
Contributed-under: TianoCore Contribution Agreement 1.0
Signed-off-by: Cecil Sheng <cecil.sheng@hpe.com >
Reviewed-by: Qiu Shumin <shumin.qiu@intel.com >
Reviewed-by: Jaben Carsey <jaben.carsey@intel.com >
git-svn-id: https://svn.code.sf.net/p/edk2/code/trunk/edk2@18902 6f19259b-4bc3-4df7-8a09-765794883524
2015-11-19 08:37:03 +00:00
3cdd434ecf
ShellPkg: Replace use case of deprecated function GetVariable with GetVariable2.
...
Contributed-under: TianoCore Contribution Agreement 1.0
Signed-off-by: Eric Dong <eric.dong@intel.com >
Reviewed-by: Ruiyu Ni <ruiyu.ni@intel.com >
git-svn-id: https://svn.code.sf.net/p/edk2/code/trunk/edk2@18330 6f19259b-4bc3-4df7-8a09-765794883524
2015-08-27 04:45:23 +00:00
00a6ad1ba7
ShellPkg: Add Ip4Config2 Protocol defintion in UefiHandleParsingLib
...
Contributed-under: TianoCore Contribution Agreement 1.0
Signed-off-by: jiaxinwu <jiaxin.wu@intel.com >
Reviewed-by: Qiu Shumin <shumin.qiu@intel.com >
git-svn-id: https://svn.code.sf.net/p/edk2/code/trunk/edk2@17870 6f19259b-4bc3-4df7-8a09-765794883524
2015-07-08 02:55:09 +00:00
4024c116f6
ShellPkg: Add DiskInfo GUID matching to the She
...
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: https://svn.code.sf.net/p/edk2/code/trunk/edk2@17447 6f19259b-4bc3-4df7-8a09-765794883524
2015-05-14 16:50:40 +00:00
bcd5efb1c0
ShellPkg: Remove "ProtocolGuid" from the string for protocol names
...
Some protocols still had this at the end of protocol name. remove to standardize.
Contributed-under: TianoCore Contribution Agreement 1.0
Signed-off-by: Jaben Carsey <jaben.carsey@intel.com >
Reviewed-by: Tapan Shah <tapandshah@hp.com >
git-svn-id: https://svn.code.sf.net/p/edk2/code/trunk/edk2@17194 6f19259b-4bc3-4df7-8a09-765794883524
2015-04-22 19:53:43 +00:00
c011b6c9e2
ShellPkg: Standardized HP Copyright Message String
...
Contributed-under: TianoCore Contribution Agreement 1.0
Signed-off-by: Tapan Shah <tapandshah@hp.com >
Reviewed-by: Jaben Carsey <jaben.carsey@intel.com >
git-svn-id: https://svn.code.sf.net/p/edk2/code/trunk/edk2@16759 6f19259b-4bc3-4df7-8a09-765794883524
2015-02-04 22:25:01 +00:00
ecd07f3737
ShellPkg: Refine the fomat in INF/DEC files to follow spec.
...
Contributed-under: TianoCore Contribution Agreement 1.0
Signed-off-by: Qiu Shumin <shumin.qiu@intel.com >
Reviewed-by: Jaben Carsey <Jaben.carsey@intel.com >
git-svn-id: https://svn.code.sf.net/p/edk2/code/trunk/edk2@16634 6f19259b-4bc3-4df7-8a09-765794883524
2015-01-22 01:44:11 +00:00
2c23ddaa00
ShellPkg: Remove IntelFramweorkModulePkg as Shell library dependency
...
Contributed-under: TianoCore Contribution Agreement 1.0
Signed-off-by: jaben carsey <jaben.carsey@intel.com >
Reviewed-by: Tim Lewis <tim.lewis@insyde.com >
Reviewed-by: Samer El-Haj-Mahmoud <elhaj@hp.com >
git-svn-id: https://svn.code.sf.net/p/edk2/code/trunk/edk2@16526 6f19259b-4bc3-4df7-8a09-765794883524
2014-12-16 17:50:57 +00:00
1d6ccad2b9
ShellPkg: Code refine. Add error handling code to check pointer and remove redundant 'ASSERT'.
...
Contributed-under: TianoCore Contribution Agreement 1.0
Signed-off-by: Qiu Shumin <shumin.qiu@intel.com >
Reviewed-by: Jaben Carsey <Jaben.carsey@intel.com >
git-svn-id: https://svn.code.sf.net/p/edk2/code/trunk/edk2@16525 6f19259b-4bc3-4df7-8a09-765794883524
2014-12-16 02:52:00 +00:00
59febea1f5
ShellPkg: Update Shell DH command to display more info.
...
Decode for gEfiAdapterInformationProtocolGuid and added GUIDs for gEfiIsaIoProtocolGuid and gEfiIsaAcpiProtocolGuid protocols.
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: https://svn.code.sf.net/p/edk2/code/trunk/edk2@16445 6f19259b-4bc3-4df7-8a09-765794883524
2014-11-25 22:41:30 +00:00
931b2cff42
ShellPkg: Fixed variable set but never used
...
This warning/error raised by ARM toolchain prevents to build
the EFI Shell for ARM 32-bit with this toolchain.
Contributed-under: TianoCore Contribution Agreement 1.0
Signed-off-by: Olivier Martin <olivier.martin@arm.com >
Reviewed-by: Jaben Carsey <jaben.carsey@intel.com >
git-svn-id: https://svn.code.sf.net/p/edk2/code/trunk/edk2@16323 6f19259b-4bc3-4df7-8a09-765794883524
2014-11-10 10:20:25 +00:00
4d5b818c78
[Patch] ShellPkg: Remove unused PCD from INF file
...
Contributed-under: TianoCore Contribution Agreement 1.0
Signed-off-by : Jaben Carsey <jaben.carsey@intel.com >
Reviewed-by: Erik Bjorge <erik.c.bjorge@intel.com >
git-svn-id: https://svn.code.sf.net/p/edk2/code/trunk/edk2@16283 6f19259b-4bc3-4df7-8a09-765794883524
2014-10-31 16:40:46 +00:00
de4caceb8b
ShellPkg: Remove 'STATIC' from function declarations to avoid source level debugging problem.
...
Contributed-under: TianoCore Contribution Agreement 1.0
Signed-off-by: Qiu Shumin <shumin.qiu@intel.com >
Reviewed-by: : Jaben Carsey <Jaben.carsey@intel.com >
git-svn-id: https://svn.code.sf.net/p/edk2/code/trunk/edk2@15975 6f19259b-4bc3-4df7-8a09-765794883524
2014-08-29 01:30:43 +00:00
e7e0e42bac
ShellPkg: Move mHandleParsingHiiHandle init out of the constructor
...
Contributed-under: TianoCore Contribution Agreement 1.0
Signed-off-by: Chris Phillips <chrisp@hp.com >
Signed-off-by: Eugene Cohen <eugene@hp.com >
Reviewed-by: Jaben Carsey <jaben.carsey@intel.com >
git-svn-id: https://svn.code.sf.net/p/edk2/code/trunk/edk2@15841 6f19259b-4bc3-4df7-8a09-765794883524
2014-08-19 23:15:22 +00:00
f5ba4007ae
ShellPkg: Fix comments. Refine code style.
...
Contributed-under: TianoCore Contribution Agreement 1.0
Signed-off-by: Qiu Shumin <shumin.qiu@intel.com >
Reviewed-by: Jaben Carsey <jaben.carsey@intel.com >
git-svn-id: https://svn.code.sf.net/p/edk2/code/trunk/edk2@15815 6f19259b-4bc3-4df7-8a09-765794883524
2014-08-18 00:48:22 +00:00
7aae3c355f
ShellPkg: add size cast to bit operations
...
Contributed-under: TianoCore Contribution Agreement 1.0
Signed-off-by: Jaben Carsey <jaben.carsey@intel.com >
Reviewed-by: Erik Bjorge <erik.c.bjorge@intel.com >
git-svn-id: https://svn.code.sf.net/p/edk2/code/trunk/edk2@15763 6f19259b-4bc3-4df7-8a09-765794883524
2014-08-06 16:17:42 +00:00
6306fd90b7
ShellPkg: Add Dynamic GUID registration into the current GUID<->String conversion process
...
Contributed-under: TianoCore Contribution Agreement 1.0
Signed-off-by: Jaben Carsey <jaben.carsey@intel.com >
Reviewed-by: Erik Bjorge <erik.c.bjorge@intel.com >
git-svn-id: https://svn.code.sf.net/p/edk2/code/trunk/edk2@15753 6f19259b-4bc3-4df7-8a09-765794883524
2014-08-05 18:03:49 +00:00
0a1eb97d37
ShellPkg: Add new UEFI Shell 2.1 protocol and fix comments in handle parsing
...
Contributed-under: TianoCore Contribution Agreement 1.0
Signed-off-by: Jaben Carsey <jaben.carsey@intel.com >
Reviewed-by: Erik Bjorge <erik.c.bjorge@intel.com >
git-svn-id: https://svn.code.sf.net/p/edk2/code/trunk/edk2@15750 6f19259b-4bc3-4df7-8a09-765794883524
2014-08-04 21:17:17 +00:00
9145d31451
Update the comments for function 'ConvertPixelFormat' in UefiHandleParsingLib.c to make it consistent with parameter name.
...
Contributed-under: TianoCore Contribution Agreement 1.0
Signed-off-by: Qiu Shumin <shumin.qiu@intel.com >
Reviewed-by: Jaben carsey <Jaben.carsey@intel.com >
git-svn-id: https://svn.code.sf.net/p/edk2/code/trunk/edk2@15521 6f19259b-4bc3-4df7-8a09-765794883524
2014-05-13 01:44:02 +00:00
0fb7e718a8
ShellPkg: Add a support to query AdapterInfo protocol for Shell ‘dh’ command.
...
This patch adds support to display driver handles which has AdapterInfo protocol installed using ‘dh’ command.
Contributed-under: TianoCore Contribution Agreement 1.0
Signed-off-by: Tapan Shah <tapandshah@hp.com >
Reviewed-by: Jaben carsey <Jaben.carsey@intel.com >
git-svn-id: https://svn.code.sf.net/p/edk2/code/trunk/edk2@15499 6f19259b-4bc3-4df7-8a09-765794883524
2014-05-07 22:38:16 +00:00
609e0c5815
ShellPkg: Patch to enhance the output around GOP protocol
...
This patch adds detailed information from the GOP protocol for commands (i.e. DH), that display details about the protocol.
Contributed-under: TianoCore Contribution Agreement 1.0
Signed-off-by: Jaben Carsey <Jaben.carsey@intel.com >
Reviewed-by: Ruiyu Ni <ruiyu.ni@intel.com >
git-svn-id: https://svn.code.sf.net/p/edk2/code/trunk/edk2@15493 6f19259b-4bc3-4df7-8a09-765794883524
2014-04-30 15:32:27 +00:00
5f119dfc90
ShellPkg: Fix compiler warning 'unused variable'
...
Contributed-under: TianoCore Contribution Agreement 1.0
Signed-off-by: Harry Liebel <Harry.Liebel@arm.com >
Reviewed-by: Olivier Martin <olivier.martin@arm.com >
git-svn-id: https://svn.code.sf.net/p/edk2/code/trunk/edk2@15462 6f19259b-4bc3-4df7-8a09-765794883524
2014-04-11 17:35:22 +00:00
efb76d1a74
ShellPkg: Allow for LoadedImageProtocol information to be verbosely exported for commands like "dh"
...
Contributed-under: TianoCore Contribution Agreement 1.0
Signed-off-by: Jaben Carsey <Jaben.carsey@intel.com >
Reviewed-by: Erik Bjorge <erik.c.bjorge@intel.com >
git-svn-id: https://svn.code.sf.net/p/edk2/code/trunk/edk2@15352 6f19259b-4bc3-4df7-8a09-765794883524
2014-03-20 17:10:57 +00:00
6b640b4a97
ShellPkg: Add EfiIdeControllerInitProtocol to Shell’s output
...
Contributed-under: TianoCore Contribution Agreement 1.0
Signed-off-by: Jaben Carsey <jaben.carsey@intel.com >
Reviewed-by: Erik Bjorge <erik.c.bjorge@intel.com >
git-svn-id: https://svn.code.sf.net/p/edk2/code/trunk/edk2@14864 6f19259b-4bc3-4df7-8a09-765794883524
2013-11-19 22:18:33 +00:00
12f1a36cf4
ShellPkg: Rename duplicate STRING ID
...
There were 2 "STR_UCS2" strings. This renames one of them so they are unique.
Contributed-under: TianoCore Contribution Agreement 1.0
Signed-off-by: Jaben Carsey <Jaben.carsey@intel.com >
Reviewed-by: Erik Bjorge <erik.c.bjorge@intel.com >
git-svn-id: https://svn.code.sf.net/p/edk2/code/trunk/edk2@14852 6f19259b-4bc3-4df7-8a09-765794883524
2013-11-15 18:55:36 +00:00
28cdb62bcd
ShellPkg: Add DiskIO2, and fix GUID from string check to be case insensitive
...
- Add DiskIO2 to list of known protocols
- Fix string check to be case insensitive for commands like ‘dh –p protocolname’
Contributed-under: TianoCore Contribution Agreement 1.0
Signed-off-by: Chris Phillips <chrisp@hp.com >
Reviewed-by: Jaben Carsey <jaben.carsey@intel.com >
git-svn-id: https://svn.code.sf.net/p/edk2/code/trunk/edk2@14851 6f19259b-4bc3-4df7-8a09-765794883524
2013-11-15 18:44:29 +00:00
a71003f249
Refine the select language logic.
...
Signed-off-by: Eric Dong <eric.dong@intel.com >
Reviewed-by: Liming Gao <liming.gao@intel.com >
Reviewed-by: Jaben Carsey <Jaben.carsey@intel.com >
git-svn-id: https://svn.code.sf.net/p/edk2/code/trunk/edk2@14629 6f19259b-4bc3-4df7-8a09-765794883524
2013-09-05 03:02:14 +00:00
863986b3c8
Update all the code to consume the ConvertDevicePathToText, ConvertDevicePathNodeToText, ConvertTextToDevicePath and ConvertTextToDeviceNode APIs in DevicePathLib.
...
Signed-off-by: Ruiyu Ni <ruiyu.ni@intel.com >
Reviewed-by: Feng Tian <feng.tian@intel.com >
Reviewed-by: Elvin Li <elvin.li@intel.com >
Reviewed-by: Eric Dong <eric.dong@intel.com >
Reviewed-by: Star Zeng <star.zeng@intel.com >
Reviewed-by: Jaben Carsey <jaben.carsey@intel.com >
Reviewed-by: Guo Dong <guo.dong@intel.com >
git-svn-id: https://svn.code.sf.net/p/edk2/code/trunk/edk2@14505 6f19259b-4bc3-4df7-8a09-765794883524
2013-07-26 03:14:08 +00:00
28981267c5
ShellPkg: Fix ARM build errors.
...
submitted-by: Olivier Martin olivier.martin@arm.com >
reviewed-by: Jaben Carsey <Jaben.Carsey@intel.com >
git-svn-id: https://svn.code.sf.net/p/edk2/code/trunk/edk2@14400 6f19259b-4bc3-4df7-8a09-765794883524
2013-06-11 22:07:03 +00:00
ce68d3bc68
Add missing braces around initializer.
...
Signed-off-by: Star Zeng <star.zeng@intel.com >
Reviewed-by: Jaben Carsey <jaben.carsey@intel.com >
Reviewed-by: Qian Ouyang <qian.ouyang@intel.com >
Reviewed-by: Ruiyu Ni <ruiyu.ni@intel.com >
Reviewed-by: Feng Tian <feng.tian@intel.com >
Reviewed-by: Jeff Fan <jeff.fan@intel.com >
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@13817 6f19259b-4bc3-4df7-8a09-765794883524
2012-10-11 02:15:23 +00:00
f330ff35dc
Contributed-under: TianoCore Contribution Agreement 1.0
...
Signed-off-by: Michael Kinney <michael.d.kinney@intel.com >
Reviewed-by: Jaben Carsey <Jaben.carsey@intel.com >
1) ShellPkg/Library/UefiHandleParsingLib
a. UefiHandleParsingLib.c – ConvertHandleToHandleIndex() and ConvertHandleIndexToHandle()
i. Update to work correctly when handles are destroyed due to driver disconnect operations. Same handle index is never reused.
b. UefiHandleParsingLib.c – ParseHandleDatabaseByRelationshipWithType() and ParseHandleDatabaseForChildControllers()
i. Expand to handle Service Binding Protocol usage such as Network stack.
2) ShellPkg/Library/UefiShellDriver1CommandsLib
a. DevTree.c – Fix bug where the same handle is shown more than once.
b. Dh.c – Fix use of GetDriverName() and GetDriverImageName(). The status returned must always be evaluated.
c. Disconnect.c – Remove requirement that a handle being disconnected must support Device Path Protocol. This prevents driver model handles without device paths from being disconnected (i.e. Network Stack)
d. OpenInfo.c – Fix bug when showing open info about a ControllerHandle that has been destroyed due to a disconnect or an unload operation.
e. UefiShellDriver1CommandsLib.uni – Fix “drivers” command formatting when handle indexes have more than 2 characters.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@13786 6f19259b-4bc3-4df7-8a09-765794883524
2012-10-05 22:26:25 +00:00
36384ceb64
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: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@13603 6f19259b-4bc3-4df7-8a09-765794883524
2012-08-10 01:10:05 +00:00
6398b08db2
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: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@13380 6f19259b-4bc3-4df7-8a09-765794883524
2012-05-30 17:34:16 +00:00
8d3000031d
Enhance code to more safely and follow coding style.
...
Signed-off-by: Eric Dong <eric.dong@intel.com >
Reviewed-by: Jaben Carsey <Jaben.carsey@intel.com >
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@13221 6f19259b-4bc3-4df7-8a09-765794883524
2012-04-26 02:00:30 +00:00
f4f3c6bf0a
ShellPkg: Add dump information for PCI Root Bridge IO protocol.
...
This indirectly updates the DH command since it will automatically call the new function.
signed-off-by: jcarsey
reviewed-by: leegrosenbaum
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@12922 6f19259b-4bc3-4df7-8a09-765794883524
2012-01-10 20:51:04 +00:00
dee3431846
ShellPkg: Add protocols / protocol GUIDs to display and input mapping.
...
This adds all protocols in the MdePkg.dec.
signed-off-by: jcarsey
reviewed-by: geekboy15a
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@12920 6f19259b-4bc3-4df7-8a09-765794883524
2012-01-09 19:11:54 +00:00