summaryrefslogtreecommitdiffstats
path: root/ShellPkg/Library
Commit message (Collapse)AuthorAgeFilesLines
* ShellPkg: Correct files with CRLF line endingLiming Gao2016-07-295-36/+36
| | | | | | | | | Cc: Ruiyu Ni <ruiyu.ni@intel.com> Cc: Jaben Carsey <jaben.carsey@intel.com> Contributed-under: TianoCore Contribution Agreement 1.0 Signed-off-by: Liming Gao <liming.gao@intel.com> Reviewed-by: Jaben Carsey <jaben.carsey@intel.com> (cherry picked from commit 9b7143c9041c9e9e7d431e3dc3788feda475d9bc)
* ShellPkg/LoadPciRom: Fix the ConnectAll() implementationRuiyu Ni2016-07-251-77/+14
| | | | | | | | | | | | | | | | Old implementation depends on UefiHandleParsingLib and uses incorrect Index to get handle type. The simplest ConnectAll() implementation can be just to locate all handles and call BS.ConnectController() for each of them recursively. BS.ConnectController() does nothing to the image handle. Such implementation is borrowed from BDS core implementation. Contributed-under: TianoCore Contribution Agreement 1.0 Signed-off-by: Ruiyu Ni <ruiyu.ni@intel.com> Reviewed-by: Jaben Carsey <jaben.carsey@intel.com> Reviewed-by: Hao A Wu <hao.a.wu@intel.com> (cherry picked from commit fc41b97f128a0c7f28a9cc250e629a0ad2262ac8)
* ShellPkg/If: Fix issue to pass static code checkerRuiyu Ni2016-07-251-0/+1
| | | | | | | | Contributed-under: TianoCore Contribution Agreement 1.0 Signed-off-by: Ruiyu Ni <ruiyu.ni@intel.com> Reviewed-by: Jaben Carsey <jaben.carsey@intel.com> Reviewed-by: Hao A Wu <hao.a.wu@intel.com> (cherry picked from commit 1b0319535bc751e27846cbf0c4a1eb4d7d690e97)
* ShellPkg/UefiHandleParsingLib: Fix issue to pass static code checkerRuiyu Ni2016-07-251-2/+11
| | | | | | | | Contributed-under: TianoCore Contribution Agreement 1.0 Signed-off-by: Ruiyu Ni <ruiyu.ni@intel.com> Reviewed-by: Jaben Carsey <jaben.carsey@intel.com> Reviewed-by: Hao A Wu <hao.a.wu@intel.com> (cherry picked from commit 94fcb76b61f180b1ebe2fa3b3b26138c733c4d45)
* ShellPkg/DrvDiag: Fix a critical typo bugRuiyu Ni2016-07-251-1/+1
| | | | | | | | Contributed-under: TianoCore Contribution Agreement 1.0 Signed-off-by: Ruiyu Ni <ruiyu.ni@intel.com> Reviewed-by: Jaben Carsey <jaben.carsey@intel.com> Reviewed-by: Hao A Wu <hao.a.wu@intel.com> (cherry picked from commit cb9f3a59c390c94d5fb252c7f9b44571db90adf2)
* ShellPkg: Fix echo to support displaying special charactersRuiyu Ni2016-07-252-81/+63
| | | | | | | | | | | | | Run 'echo -t' without the patch will get the result: echo: Unknown flag - '-t' The expected result is to display '-t' literally. This patch adds special handle for 'echo'. 'echo' will not use the general parameter parsing library. Contributed-under: TianoCore Contribution Agreement 1.0 Signed-off-by: Ruiyu Ni <ruiyu.ni@intel.com> Reviewed-by: Jaben Carsey <jaben.carsey@intel.com> (cherry picked from commit 95fc5a877502a6e6324300eed0136243d359fa96)
* ShellPkg: Add Shell[Get|Set]RawCmdLine to ShellCommandLibRuiyu Ni2016-07-251-0/+45
| | | | | | | Contributed-under: TianoCore Contribution Agreement 1.0 Signed-off-by: Ruiyu Ni <ruiyu.ni@intel.com> Reviewed-by: Jaben Carsey <jaben.carsey@intel.com> (cherry picked from commit 0fcf8d4df85d861b6e721bd1d8abb449f05e15ed)
* ShellPkg: Move FindFirstCharacter/GetNextParameter to ShellCommandLibRuiyu Ni2016-07-251-0/+185
| | | | | | | | | And add Shell prefix to the two library APIs. Contributed-under: TianoCore Contribution Agreement 1.0 Signed-off-by: Ruiyu Ni <ruiyu.ni@intel.com> Reviewed-by: Jaben Carsey <jaben.carsey@intel.com> (cherry picked from commit c0bcd3433f33876c519bf5567e0ab69261b57fe9)
* ShellPkg/UefiShellCommandLib.c: Formalize EOLRuiyu Ni2016-07-251-61/+61
| | | | | | | Contributed-under: TianoCore Contribution Agreement 1.0 Signed-off-by: Ruiyu Ni <ruiyu.ni@intel.com> Reviewed-by: Jaben Carsey <jaben.carsey@intel.com> (cherry picked from commit cf041fd799bedd87e67eadfb10e41cfd85d9cfe8)
* ShellPkg: Fix VS2010/2012 build failureRuiyu Ni2016-07-251-0/+2
| | | | | | | Contributed-under: TianoCore Contribution Agreement 1.0 Signed-off-by: Ruiyu Ni <ruiyu.ni@intel.com> Reviewed-by: Dandan Bi <dandan.bi@intel.com> (cherry picked from commit 9ba25c7db7e918c3c911dd20641ba54ce721e872)
* ShellPkg/Ping6: Handle memory allocation failureRuiyu Ni2016-07-251-1/+5
| | | | | | | Contributed-under: TianoCore Contribution Agreement 1.0 Signed-off-by: Ruiyu Ni <ruiyu.ni@intel.com> Reviewed-by: Jaben Carsey <jaben.carsey@intel.com> (cherry picked from commit e7a5a238c32f62441ed5a156525b9db96f0892da)
* ShellPkg/Ifconfig6: Handle memory allocation failureRuiyu Ni2016-07-252-21/+55
| | | | | | | Contributed-under: TianoCore Contribution Agreement 1.0 Signed-off-by: Ruiyu Ni <ruiyu.ni@intel.com> Reviewed-by: Jaben Carsey <jaben.carsey@intel.com> (cherry picked from commit a915fea68e6bea900755f85e81cdc1070b9f3dc6)
* ShellPkg/UefiShellLib.c: Handle memory allocation failureRuiyu Ni2016-07-251-5/+6
| | | | | | | Contributed-under: TianoCore Contribution Agreement 1.0 Signed-off-by: Ruiyu Ni <ruiyu.ni@intel.com> Reviewed-by: Jaben Carsey <jaben.carsey@intel.com> (cherry picked from commit eeb9744e5659d6ea035b9ba66b72c5c5b0a2c32e)
* ShellPkg/IfConfig: Handle memory allocation failureRuiyu Ni2016-07-252-20/+58
| | | | | | | Contributed-under: TianoCore Contribution Agreement 1.0 Signed-off-by: Ruiyu Ni <ruiyu.ni@intel.com> Reviewed-by: Jaben Carsey <jaben.carsey@intel.com> (cherry picked from commit 18bff310aae5d26d440e03742a208d7ecfa72387)
* ShellPkg/UefiShellLib: Handle memory allocation failureRuiyu Ni2016-07-251-2/+10
| | | | | | | Contributed-under: TianoCore Contribution Agreement 1.0 Signed-off-by: Ruiyu Ni <ruiyu.ni@intel.com> Reviewed-by: Jaben Carsey <jaben.carsey@intel.com> (cherry picked from commit 2efafabf41f05b88c421d97838f193eeb3f9c8e2)
* ShellPkg/Mv: Handle memory allocation failureRuiyu Ni2016-07-251-5/+9
| | | | | | | Contributed-under: TianoCore Contribution Agreement 1.0 Signed-off-by: Ruiyu Ni <ruiyu.ni@intel.com> Reviewed-by: Jaben Carsey <jaben.carsey@intel.com> (cherry picked from commit 28d447f9bdbc79317be60064521f81e04d72c063)
* ShellPkg/Cp: Handle memory allocation failureRuiyu Ni2016-07-251-6/+13
| | | | | | | Contributed-under: TianoCore Contribution Agreement 1.0 Signed-off-by: Ruiyu Ni <ruiyu.ni@intel.com> Reviewed-by: Jaben Carsey <jaben.carsey@intel.com> (cherry picked from commit 0b34dc1324e07d330efea50222bf399a860bdbd9)
* ShellPkg/Cd: Handle memory allocation failureRuiyu Ni2016-07-251-13/+21
| | | | | | | Contributed-under: TianoCore Contribution Agreement 1.0 Signed-off-by: Ruiyu Ni <ruiyu.ni@intel.com> Reviewed-by: Jaben Carsey <jaben.carsey@intel.com> (cherry picked from commit a34b7c36621140b2da94e92373a61a549477f684)
* ShellPkg/If: Handle memory allocation failureRuiyu Ni2016-07-251-42/+53
| | | | | | | Contributed-under: TianoCore Contribution Agreement 1.0 Signed-off-by: Ruiyu Ni <ruiyu.ni@intel.com> Reviewed-by: Jaben Carsey <jaben.carsey@intel.com> (cherry picked from commit 581c03896cf88e875f620f6ea9d90ecb2b941c18)
* ShellPkg/For: Handle memory allocation failureRuiyu Ni2016-07-251-3/+9
| | | | | | | Contributed-under: TianoCore Contribution Agreement 1.0 Signed-off-by: Ruiyu Ni <ruiyu.ni@intel.com> Reviewed-by: Jaben Carsey <jaben.carsey@intel.com> (cherry picked from commit 59b7dbac4ea075313af989cc20b71d44fdc7829a)
* ShellPkg/DrvDiag: Handle memory allocation failureRuiyu Ni2016-07-251-4/+13
| | | | | | | Contributed-under: TianoCore Contribution Agreement 1.0 Signed-off-by: Ruiyu Ni <ruiyu.ni@intel.com> Reviewed-by: Jaben Carsey <jaben.carsey@intel.com> (cherry picked from commit 26ca45a86fa519e61c511ed27718b3f6dfe2710c)
* ShellPkg/DrvCfg: Handle memory allocation failureRuiyu Ni2016-07-251-5/+12
| | | | | | | Contributed-under: TianoCore Contribution Agreement 1.0 Signed-off-by: Ruiyu Ni <ruiyu.ni@intel.com> Reviewed-by: Jaben Carsey <jaben.carsey@intel.com> (cherry picked from commit 58972f5cf7e1163e474f961afe34e200fd5dac11)
* ShellPkg/DevTree: Handle memory allocation failureRuiyu Ni2016-07-251-6/+7
| | | | | | | Contributed-under: TianoCore Contribution Agreement 1.0 Signed-off-by: Ruiyu Ni <ruiyu.ni@intel.com> Reviewed-by: Jaben Carsey <jaben.carsey@intel.com> (cherry picked from commit 55b1d63de7677f89178f200404d8d05a23150a4a)
* ShellPkg/Edit: Handle memory allocation failureRuiyu Ni2016-07-251-21/+20
| | | | | | | Contributed-under: TianoCore Contribution Agreement 1.0 Signed-off-by: Ruiyu Ni <ruiyu.ni@intel.com> Reviewed-by: Jaben Carsey <jaben.carsey@intel.com> (cherry picked from commit 3e9442a564a767f7bd60113117d7b993a4e29a9b)
* ShellPkg/LoadPciRom: Handle memory allocation failureRuiyu Ni2016-07-251-2/+6
| | | | | | | Contributed-under: TianoCore Contribution Agreement 1.0 Signed-off-by: Ruiyu Ni <ruiyu.ni@intel.com> Reviewed-by: Jaben Carsey <jaben.carsey@intel.com> (cherry picked from commit 20cfed165c47a7ff578e469e4cf00f1a656eccbd)
* ShellPkg/EfiDecompress: Handle memory allocation failureRuiyu Ni2016-07-251-24/+28
| | | | | | | Contributed-under: TianoCore Contribution Agreement 1.0 Signed-off-by: Ruiyu Ni <ruiyu.ni@intel.com> Reviewed-by: Jaben Carsey <jaben.carsey@intel.com> (cherry picked from commit aba0ca78c6a96433af9dba74e4e56487b0c27d2e)
* ShellPkg/EfiCompress: Handle memory allocation failureRuiyu Ni2016-07-251-12/+18
| | | | | | | Contributed-under: TianoCore Contribution Agreement 1.0 Signed-off-by: Ruiyu Ni <ruiyu.ni@intel.com> Reviewed-by: Jaben Carsey <jaben.carsey@intel.com> (cherry picked from commit ca1b2411f5bcdc0b023f331afd9a9e741752067e)
* ShellPkg/DMem: Handle memory allocation failureRuiyu Ni2016-07-251-2/+4
| | | | | | | Contributed-under: TianoCore Contribution Agreement 1.0 Signed-off-by: Ruiyu Ni <ruiyu.ni@intel.com> Reviewed-by: Jaben Carsey <jaben.carsey@intel.com> (cherry picked from commit c87bb070a6007605b13adc2f8f2b93086aed7956)
* ShellPkg/UefiShellCommandLib.c: Handle memory allocation failureRuiyu Ni2016-07-251-8/+28
| | | | | | | Contributed-under: TianoCore Contribution Agreement 1.0 Signed-off-by: Ruiyu Ni <ruiyu.ni@intel.com> Reviewed-by: Jaben Carsey <jaben.carsey@intel.com> (cherry picked from commit 107d05a433c3ea5d877baaa4867ede7708323d38)
* ShellPkg/ConsistMapping.c: Handle memory allocation failureRuiyu Ni2016-07-251-179/+320
| | | | | | | Contributed-under: TianoCore Contribution Agreement 1.0 Signed-off-by: Ruiyu Ni <ruiyu.ni@intel.com> Reviewed-by: Jaben Carsey <jaben.carsey@intel.com> (cherry picked from commit 2c7c3b87bf43ce0977106546220b96e4d4b1ca36)
* ShellPkg/UefiShellBcfgCommandLib: Handle memory allocation failureRuiyu Ni2016-07-251-24/+25
| | | | | | | Contributed-under: TianoCore Contribution Agreement 1.0 Signed-off-by: Ruiyu Ni <ruiyu.ni@intel.com> Reviewed-by: Jaben Carsey <jaben.carsey@intel.com> (cherry picked from commit 5945813f69f1d5864bb54982bf59ebd1057c4949)
* ShellPkg/UefiHandleParsingLib.c: Handle memory allocation failureRuiyu Ni2016-07-251-24/+31
| | | | | | | Contributed-under: TianoCore Contribution Agreement 1.0 Signed-off-by: Ruiyu Ni <ruiyu.ni@intel.com> Reviewed-by: Jaben Carsey <jaben.carsey@intel.com> (cherry picked from commit aa3276c171e3bd2f29745c4b48589f0faded4322)
* ShellPkg/Dp: Handle memory allocation failureRuiyu Ni2016-07-251-1/+7
| | | | | | | Contributed-under: TianoCore Contribution Agreement 1.0 Signed-off-by: Ruiyu Ni <ruiyu.ni@intel.com> Reviewed-by: Jaben Carsey <jaben.carsey@intel.com> (cherry picked from commit d758f80971a7447328d67dd5d4dd2a94dabe1656)
* ShellPkg: Fix issue about Ifconfig6 -r command.Zhang Lubo2016-07-252-4/+28
| | | | | | | | | | | | | | | | | Follow the Shell Spec, when the interface name is Specified, we need to refresh the Ipv6 configuration. Cc: Hegde Nagaraj P <nagaraj-p.hegde@hpe.com> Cc: Ye Ting <ting.ye@intel.com> Cc: Fu Siyuan <siyuan.fu@intel.com> Cc: Wu Jiaxin <jiaxin.wu@intel.com> Contributed-under: TianoCore Contribution Agreement 1.0 Signed-off-by: Zhang Lubo <lubo.zhang@intel.com> Reviewed-by: Hegde Nagaraj P <nagaraj-p.hegde@hpe.com> Reviewed-by: Sriram Subramanian <sriram-s@hpe.com> Reviewed-by: Jaben Carsey <jaben.carsey@intel.com> Reviewed-By: Wu Jiaxin <jiaxin.wu@intel.com> (cherry picked from commit e2f5c491d8749c88cbf56168a3493d70ff19a382)
* Revert "ShellPkg: Make the USB mouse behavior in 'edit' consistent with ↵Ruiyu Ni2016-07-135-476/+39
| | | | | | | | | | | | | | | | | | | | 'hexedit'." This reverts commit ee60bd2b6aa473fdff6af3bfc62203ed8ca5c52a and e36ed7a84b2768443de22371f0aad5cf502328b1. The two commits enhanced 'edit' to support text selection through mouse. But the code introduced some bugs resulting the text selection behavior is not very usable and potentially hang in certain platforms. So I'd like to revert them firstly. If there is strong requirement for the text selection through mouse in 'edit' I will refine and re-add the code. Contributed-under: TianoCore Contribution Agreement 1.0 Signed-off-by: Ruiyu Ni <ruiyu.ni@intel.com> Reviewed-by: Jaben Carsey <jarben.carsey@intel.com> (cherry picked from commit 664fd5877d8b144b0d2cc667feab37286986ffb6)
* ShellPkg: Series of patches to fix typos - apropriate to appropriateMudusuru, Giri P2016-07-132-2/+2
| | | | | | | | | Cc: Jaben Carsey <jaben.carsey@intel.com> Cc: Shumin Qiu <shumin.qiu@intel.com> Contributed-under: TianoCore Contribution Agreement 1.0 Signed-off-by: Giri P Mudusuru <giri.p.mudusuru@intel.com> Reviewed-By: Jaben Carsey <jaben.carsey@intel.com> (cherry picked from commit 1d32246161af275d7a2d17ade4a8fa53ea37a556)
* ShellPkg:Ping: Ping command hangs with intermittent packet lossesSubramanian, Sriram (EG Servers Platform SW)2016-07-131-4/+9
| | | | | | | | | | | | | | When we have intermittent loss of packets, ping command doesnt return to Shell prompt. It keeps looping in the while (Status ==EFI_NOT_READY) since Private->RxCount will never reach Private->SendNum. Addresses the issue with the use of a new varibale in the PRIVATE structure. Contributed-under: TianoCore Contribution Agreement 1.0 Signed-off-by: Hegde, Nagaraj P <nagaraj-p.hegde@hpe.com> Reviewed-by: Sriram Subramanian <sriram-s@hpe.com> Reviewed-by: Jaben Carsey <jaben.carsey@intel.com> (cherry picked from commit 80f7a8f5f9d21f8315d39be0f5651ce7160594fc)
* Fix GUID dereferenceThomas Palmer2016-07-131-3/+3
| | | | | | | | | | Print's "%g" argument requires a EFI_GUID pointer, not the EFI_GUID value. Contributed-under: TianoCore Contribution Agreement 1.0 Signed-off-by: Thomas Palmer <thomas.palmer@hpe.com> Reviewed-By: Jaben Carsey <jaben.carsey@intel.com> (cherry picked from commit e06a4c0812cfac25a9eb1e8c851156fe19a29ab3)
* ShellPkg: Update the error prompt for ping6 command.Zhang Lubo2016-07-132-2/+2
| | | | | | | | | | | | | | | when we use the ping6 command without configuring the network interface, it should give correct prompt to users. Cc: Hegde Nagaraj P <nagaraj-p.hegde@hpe.com> Cc: Fu Siyuan <siyuan.fu@intel.com> Cc: Wu Jiaxin <jiaxin.wu@intel.com> Contributed-under: TianoCore Contribution Agreement 1.0 Signed-off-by: Zhang Lubo <lubo.zhang@intel.com> Reviewed-by: Sriram Subramanian <sriram-s@hpe.com> Reviewed-by: Hegde, Nagaraj P <nagaraj-p.hegde@hpe.com> Reviewed-By: Wu Jiaxin <jiaxin.wu@intel.com> (cherry picked from commit dded3ae880310c1fa57a6259058dc28d12cff61c)
* ShellPkg: UefiHandleParsingLib: remove tautological comparisonLaszlo Ersek2016-07-131-4/+0
| | | | | | | | | | | | | | | | | | | | | | | | | | The code being removed in this patch dates back to git commit a405b86d274d (Sep 14, 2010; "udk2010.up2.shell initial release."). The condition always evaluates to true, and it breaks DEBUG builds of ArmVirtPkg with gcc-6.1: ShellPkg/Library/UefiHandleParsingLib/UefiHandleParsingLib.c: In function 'ParseHandleDatabaseByRelationshipWithType': ShellPkg/Library/UefiHandleParsingLib/UefiHandleParsingLib.c:2465:76: error: self-comparison always evaluates to true [-Werror=tautological-compare] ASSERT((*HandleType)[HandleIndex] == (*HandleType)[HandleIndex]); Cc: Ard Biesheuvel <ard.biesheuvel@linaro.org> Cc: Gerd Hoffmann <kraxel@redhat.com> Cc: Jaben Carsey <jaben.carsey@intel.com> Cc: Michael Zimmermann <sigmaepsilon92@gmail.com> Reported-by: Gerd Hoffmann <kraxel@redhat.com> Reported-by: Michael Zimmermann <sigmaepsilon92@gmail.com> Suggested-by: Jaben Carsey <jaben.carsey@intel.com> Ref: http://thread.gmane.org/gmane.comp.bios.edk2.devel/13794/focus=13939 Contributed-under: TianoCore Contribution Agreement 1.0 Signed-off-by: Laszlo Ersek <lersek@redhat.com> Reviewed-by: Jaben Carsey <jaben.carsey@intel.com> (cherry picked from commit 42cb906852753a081b8458c7f8742e74eeadefd3)
* ShellPkg: don't call functions with side effects in ASSERT_EFI_ERROR()Laszlo Ersek2016-07-132-3/+12
| | | | | | | | | | | | | When ASSERT_EFI_ERROR() is compiled out, dependent on build flags, only the status checking should be removed; the function calls should stay. Cc: Jaben Carsey <jaben.carsey@intel.com> Cc: Shumin Qiu <shumin.qiu@intel.com> Contributed-under: TianoCore Contribution Agreement 1.0 Signed-off-by: Laszlo Ersek <lersek@redhat.com> Reviewed-by: Giri P Mudusuru <giri.p.mudusuru@intel.com> Reviewed-by: Jaben Carsey <jaben.carsey@intel.com> (cherry picked from commit 4a7518d31a0254e4065d308f091bd7bc16dc8dba)
* ShellPkg/UefiHandleParsing: Show handle's loaded image device pathRuiyu Ni2016-07-131-15/+68
| | | | | | | | | | 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> (cherry picked from commit 5e32460d8050fbc088230183151865c671a4e2df)
* ShellPkg: Replace UnicodeStrToAsciiStr/AsciiStrToUnicodeStrStar Zeng2016-07-133-12/+14
| | | | | | | | | | | | | It is the follow up of 3ab41b7a325ca11a12b42f5ad1661c4b6791cb49 to replace UnicodeStrToAsciiStr/AsciiStrToUnicodeStr with UnicodeStrToAsciiStrS/AsciiStrToUnicodeStrS. Cc: Jiewen Yao <jiewen.yao@intel.com> Cc: Jaben Carsey <jaben.carsey@intel.com> Contributed-under: TianoCore Contribution Agreement 1.0 Signed-off-by: Star Zeng <star.zeng@intel.com> Reviewed-by: Jaben Carsey <jaben.carsey@intel.com> (cherry picked from commit 46213c8eb4055d3a75e3fca9daa7a48c1ba41217)
* ShellPkg/UefiHandleParsingLib.c: Unify EOL and remove trailing spaceRuiyu Ni2016-07-131-183/+173
| | | | | | | | | | 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> (cherry picked from commit e918029fbce507f7de5b99112582fd41993e58c5)
* ShellPkg: Use ".." to indicate device path is partially displayedRuiyu Ni2016-07-131-1/+4
| | | | | | | | | | | | | | | | 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> (cherry picked from commit 2528e47cb2131974a5274d32b41be34ac8cab19f)
* ShellPkg: Fix ARM build failure.Fu Siyuan2016-07-131-2/+2
| | | | | | | | | | This patch fixes the ARM build failure introduced by 2be45bfe2779043bc3566e879e7ec279412012dc. Contributed-under: TianoCore Contribution Agreement 1.0 Signed-off-by: Fu Siyuan <siyuan.fu@intel.com> Reviewed-by: Ard Biesheuvel <ard.biesheuvel@linaro.org> (cherry picked from commit 6987d7aa8396a89fc50603d78cb03d4aa01c78d9)
* ShellPkg/Bcfg: Add support for 'addp' command.Qiu Shumin2016-07-131-13/+5
| | | | | | | | | | | Until now the 'addp' command has been handled in the same way as 'add'. Just copy the DevicePath starting from the Hard Drive node when 'addp' is used. Contributed-under: TianoCore Contribution Agreement 1.0 Signed-off-by: Marvin Haeuser <Marvin.Haeuser@outlook.com> Reviewed-by: Qiu Shumin <shumin.qiu@intel.com> (cherry picked from commit f86a5c346578a9503f7383c6eb77ce256f33b605)
* ShellPkg: Add argument to set block size for tftp command.Fu Siyuan2016-07-132-4/+48
| | | | | | | | | | | | | TFTP block size has a big impact on the transmit performance, this patch is to add new argument [-s <block size>] for shell "tftp" command to configure the block size for file download. Contributed-under: TianoCore Contribution Agreement 1.0 Signed-off-by: Fu Siyuan <siyuan.fu@intel.com> Reviewed-by: Ye Ting <ting.ye@intel.com> Reviewed-by: Qiu Shumin <shumin.qiu@intel.com> Reviewed-by: Jaben Carsey <jaben.carsey@intel.com> (cherry picked from commit 2be45bfe2779043bc3566e879e7ec279412012dc)
* ShellPkg UefiDpLib: Delete one comment introduced by 196ccda08fc4Star Zeng2016-07-131-2/+2
| | | | | | | | | | | | Cc: Cinnamon Shia <cinnamon.shia@hpe.com> Cc: Jaben Carsey <jaben.carsey@intel.com> Cc: Shumin Qiu <shumin.qiu@intel.com> Cc: Liming Gao <liming.gao@intel.com> Contributed-under: TianoCore Contribution Agreement 1.0 Signed-off-by: Star Zeng <star.zeng@intel.com> Reviewed-by: Cinnamon Shia <cinnamon.shia@hpe.com> Reviewed-by: Jaben Carsey <jaben.carsey@intel.com> (cherry picked from commit d0a23f9f86dc39065429dc954adbc56b099b801e)
* ShellPkg/UefiDpLib: Fix the error message "Timer library instance error!"Cinnamon Shia2016-07-131-1/+5
| | | | | | | | | | | | | | | | | | | When executing shell dp command, there is an error message "Timer library instance error!" The error message "Timer library instance error!" should be for the case about duration > EndTimeStamp if CountUp or duration > StartTimeStamp if CountDown. But if the EndTimeStamp of an entry is not added, it should not the case to catch. This change fixes the error message "Timer library instance error!" from the "BdsAttempt" entry which is logged when trying to boot a boot option. Contributed-under: TianoCore Contribution Agreement 1.0 Signed-off-by: Cinnamon Shia <cinnamon.shia@hpe.com> Reviewed-by: Star Zeng <star.zeng@intel.com> Reviewed-by: Jaben Carsey <jaben.carsey@intel.com> (cherry picked from commit 69af847603ca1f6439031c4e1fee844fdb06ca6f)