Re: [edk2] [PATCH] ShellPkg/alias: Return status for alias deletion

2017-06-06 Thread Carsey, Jaben
I am good with more clear error information coming to the user. Reviewed-by: Jaben Carsey > -Original Message- > From: Ni, Ruiyu > Sent: Tuesday, June 06, 2017 2:26 PM > To: Ni, Ruiyu ; edk2-devel@lists.01.org > Cc: Tapan Shah ; Carsey, Jaben > > Subject: Re: [e

Re: [edk2] Issue in ConvertHandleIndexToHandle and ConvertHandleToHandleIndex

2017-06-06 Thread Carsey, Jaben
the list has nothing to do with the shell’s version. Sadly, the UEFI Shell spec doesn’t assume that shell applications will want access to the handle index concept that I can think of. I think that your current solution is the best one. -Jaben From: GN Keshava [mailto:keshava...@gmail.com

Re: [edk2] Issue in ConvertHandleIndexToHandle and ConvertHandleToHandleIndex

2017-06-06 Thread Carsey, Jaben
, then maybe we should consider that missing information to be added to the shell protocol. -Jaben > -Original Message- > From: edk2-devel [mailto:edk2-devel-boun...@lists.01.org] On Behalf Of > GN Keshava > Sent: Tuesday, June 06, 2017 9:12 AM > To: Carsey, Jaben ; edk2-dev

Re: [edk2] Issue in ConvertHandleIndexToHandle and ConvertHandleToHandleIndex

2017-06-06 Thread Carsey, Jaben
That library may require the module to be linked into the shell. Remember that the sermode command is actually in the same binary as the shell and the shell and the command are sharing information through libraries. > -Original Message- > From: edk2-devel [mailto:edk2-devel-boun...@list

Re: [edk2] [PATCH] ShellPkg/parse: Handle Unicode stream from pipe correctly

2017-06-06 Thread Carsey, Jaben
I like removing the special local version of the function. Reviewed-by: Jaben Carsey > -Original Message- > From: edk2-devel [mailto:edk2-devel-boun...@lists.01.org] On Behalf Of Ni, > Ruiyu > Sent: Tuesday, June 06, 2017 1:44 AM > To: Ni, Ruiyu ; edk2-devel@lists.01.or

Re: [edk2] [PATCH] ShellPkg/alias: Fix bug to support upper-case alias

2017-06-02 Thread Carsey, Jaben
Ok. I see now. Thanks! Reviewed-by: Jaben Carsey > -Original Message- > From: Ni, Ruiyu > Sent: Thursday, June 01, 2017 7:32 PM > To: Carsey, Jaben ; edk2-devel@lists.01.org > Cc: Kinney, Michael D ; Shah, Tapan > (tapands...@hpe.com) > Subject: RE: [PATCH] Shell

Re: [edk2] [PATCH] ShellPkg/alias: Fix bug to support upper-case alias

2017-06-01 Thread Carsey, Jaben
I think we have to leave the behavior the same. The spec says this: " If the environment variable does not exist and the Value is an empty string, there is no action." I do not think we can change that to an error return without a spec change. -Jaben > -Original Messag

Re: [edk2] [PATCH] ShellPkg/alias: Fix bug to support upper-case alias

2017-06-01 Thread Carsey, Jaben
I just think we may want to have the behavior act the same as it does today for delete. > -Original Message- > From: Ni, Ruiyu > Sent: Thursday, June 01, 2017 8:19 AM > To: Carsey, Jaben ; edk2-devel@lists.01.org > Cc: Kinney, Michael D ; Shah, Tapan > (tapands...@hpe.c

Re: [edk2] [PATCH] ShellPkg/alias: Fix bug to support upper-case alias

2017-06-01 Thread Carsey, Jaben
mment before: "We dont check the error return on purpose since the variable may not exist." -Jaben > -Original Message- > From: Ni, Ruiyu > Sent: Thursday, June 01, 2017 7:12 AM > To: edk2-devel@lists.01.org > Cc: Carsey, Jaben ; Kinney, Michael D > > Subject

Re: [edk2] Unmount and mount a mass storage from shell

2017-05-31 Thread Carsey, Jaben
Keshava, After you remove and replug it, I think you need to do "connect -r" to recursively reconnect drivers, then do the "map -r" to generate a new mapping. Reconnecting drivers is standard user behavior after plug in a USB device. It is not expected to happen au

Re: [edk2] Unmount and mount a mass storage from shell

2017-05-30 Thread Carsey, Jaben
I think that you will always need to inform the UEFI Shell of the change. It is not designed to automatically do detection of added/removed/changed devices. I think that your solution to use the code from mount makes the most sense. -Jaben From: GN Keshava [mailto:keshava...@gmail.com] Sent

Re: [edk2] Unmount and mount a mass storage from shell

2017-05-25 Thread Carsey, Jaben
You can "disconnect" the driver You can do "map -d" to delete a mapping I am unsure what your goals are for mount/unmount -Jaben > -Original Message- > From: edk2-devel [mailto:edk2-devel-boun...@lists.01.org] On Behalf Of > GN Keshava > Sent: Wednesday,

Re: [edk2] [PATCH] ShellPkg/UefiShellLib: Avoid reading undefined content before string

2017-05-23 Thread Carsey, Jaben
Reviewed-by: Jaben Carsey > -Original Message- > From: Wu, Hao A > Sent: Monday, May 22, 2017 7:04 PM > To: edk2-devel@lists.01.org > Cc: Wu, Hao A ; Ni, Ruiyu ; > Carsey, Jaben > Subject: [PATCH] ShellPkg/UefiShellLib: Avoid reading undefined content > before s

Re: [edk2] [PATCH v2] ShellPkg/Ls: Handle path specified from root

2017-05-15 Thread Carsey, Jaben
Reviewed-by: Jaben Carsey > -Original Message- > From: Jeff Westfahl [mailto:jeff.westf...@ni.com] > Sent: Monday, May 15, 2017 10:18 AM > To: edk2-devel@lists.01.org > Cc: Jeff Westfahl ; Ni, Ruiyu ; > Carsey, Jaben > Subject: [edk2][PATCH v2] ShellPkg/Ls: Handl

Re: [edk2] [PATCH] ShellPkg/UefiShellLib: Check correct variable for NULL

2017-05-14 Thread Carsey, Jaben
Reviewed-by: Jaben Carsey > -Original Message- > From: edk2-devel [mailto:edk2-devel-boun...@lists.01.org] On Behalf Of Jeff > Westfahl > Sent: Friday, May 12, 2017 1:42 PM > To: edk2-devel@lists.01.org > Cc: Ni, Ruiyu ; Carsey, Jaben > Subject: [edk2] [PATCH]

Re: [edk2] Shell 'touch' command fails if touched file doesn't already exist

2017-05-14 Thread Carsey, Jaben
I think that since the UEFI Shell Spec does not mention creating new files and no one has mentioned it before, we just didn't think of it. I don't see that it would violate the spec; I would welcome such a enhancement. -Jaben > -Original Message- > Fro

Re: [edk2] [PATCH 0/2] ShellPkg/memmap: Dump memory map information for all memory types

2017-05-11 Thread Carsey, Jaben
For series. Reviewed-by: Jaben Carsey > -Original Message- > From: edk2-devel [mailto:edk2-devel-boun...@lists.01.org] On Behalf Of > Ruiyu Ni > Sent: Thursday, May 11, 2017 3:27 AM > To: edk2-devel@lists.01.org > Subject: [edk2] [PATCH 0/2] ShellPkg/memmap: Dump memory

Re: [edk2] [PATCH 0/3] ShellPkg/HandleParsingLib: Show LoadedImageProtocol info

2017-05-05 Thread Carsey, Jaben
I agree with Ray's commentary. Good positive changes to UEFI Shell! For the series. Reviewed-by: Jaben Carsey > -Original Message- > From: Jeff Westfahl [mailto:jeff.westf...@ni.com] > Sent: Friday, May 05, 2017 5:25 AM > To: Ni, Ruiyu > Cc: Jeff Westfahl ; edk

Re: [edk2] ShellPkg: Difference in behavior of 'dh' between old shell and new

2017-05-04 Thread Carsey, Jaben
> To: Carsey, Jaben > Cc: Ni, Ruiyu ; edk2-devel@lists.01.org > Subject: Re: [edk2] ShellPkg: Difference in behavior of 'dh' between old shell > and new > Importance: High > > Hi Jaben, > > No PI protocols can be required means that I can try to use them? A

Re: [edk2] [PATCH] ShellPkg/UefiHandleParsingLib: Fix memory leak

2017-05-02 Thread Carsey, Jaben
Reviewed-by: Jaben Carsey > -Original Message- > From: Ni, Ruiyu > Sent: Tuesday, May 02, 2017 2:34 AM > To: edk2-devel@lists.01.org > Cc: Chen, Chen A ; Carsey, Jaben > > Subject: [PATCH] ShellPkg/UefiHandleParsingLib: Fix memory leak > Importance: Hig

Re: [edk2] [PATCH] ShellPkg: Update package version to 1.01

2017-05-02 Thread Carsey, Jaben
Reviewed-by: Jaben Carsey > -Original Message- > From: Ni, Ruiyu > Sent: Monday, May 01, 2017 10:28 PM > To: edk2-devel@lists.01.org > Cc: Carsey, Jaben > Subject: [PATCH] ShellPkg: Update package version to 1.01 > Importance: High > > Contributed-un

Re: [edk2] [PATCH] StdLib: GCC 6 build fixes

2017-04-27 Thread Carsey, Jaben
Reviewed-by: Jaben Carsey > -Original Message- > From: edk2-devel [mailto:edk2-devel-boun...@lists.01.org] On Behalf Of > Leif Lindholm > Sent: Wednesday, April 26, 2017 2:49 PM > To: edk2-devel@lists.01.org > Cc: Carsey, Jaben ; Daryl McDaniel li...@mc2research.org

Re: [edk2] [PATCH v3] ShellPkg/ShellCommandLib: Update DumpHex to print {|}~

2017-04-26 Thread Carsey, Jaben
That makes sense. When I wrote that I was unsure where to draw the line between which characters to print and which to replace. Reviewed-by: Jaben Carsey > -Original Message- > From: Jeff Westfahl [mailto:jeff.westf...@ni.com] > Sent: Wednesday, April 26, 2017 12:59 PM > To

Re: [edk2] [PATCH] ShellPkg/ShellCommandLib: Update DumpHex to print {|}~

2017-04-26 Thread Carsey, Jaben
I think that this is a correct change, but I do not understand the problem this solves. -Jaben > -Original Message- > From: Jeff Westfahl [mailto:jeff.westf...@ni.com] > Sent: Wednesday, April 26, 2017 10:41 AM > To: edk2-devel@lists.01.org > Cc: Jeff Westfahl ; Ni, R

Re: [edk2] [edk2-UniSpecification PATCH] Allow .uni files on disk to be UTF-8 without a BOM

2017-04-26 Thread Carsey, Jaben
Tim, Doesn't that assumption/behavior violate the current spec? "All the files must begin with a Unicode BOM character." -Jaben > -Original Message- > From: Tim Lewis [mailto:tim.le...@insyde.com] > Sent: Wednesday, April 26, 2017 9:15 AM > To: Kinney, Mich

Re: [edk2] [PATCH 0/2] ShellPkg/Shell: fix double free in pipeline processing

2017-04-25 Thread Carsey, Jaben
I am good with the series. Good research and description! Reviewed-by: Jaben Carsey > -Original Message- > From: Laszlo Ersek [mailto:ler...@redhat.com] > Sent: Tuesday, April 25, 2017 6:57 AM > To: edk2-devel-01 > Cc: Carsey, Jaben ; Marvin Häuser > ; Qiu Sh

Re: [edk2] [PATCH V2 2/4] MdePkg/SmmIoLib: Add sample instance.

2017-04-24 Thread Carsey, Jaben
Slight cleanup suggestion. Since you are already linking MemoryAllocationLib, you could just call FreePool in that library instead of using UefiBootServicesTableLib and using gBS->FreePool (since you have no other use of gBS that I see). -Jaben > -Original Message- > From: e

Re: [edk2] Python issue in UEFI shell

2017-04-24 Thread Carsey, Jaben
I am not sure here, but I think that you may have issues running multiple threads in the UEFI environment. Have you tried not using multiple threadS? > -Original Message- > From: edk2-devel [mailto:edk2-devel-boun...@lists.01.org] On Behalf Of KT > Sent: Monday, April 24, 2017 5:32 AM >

Re: [edk2] Possible UEFI Shell DrvDiag Command Error

2017-04-24 Thread Carsey, Jaben
I would say the shell should not free the GUID. > -Original Message- > From: jim.dai...@dell.com [mailto:jim.dai...@dell.com] > Sent: Monday, April 24, 2017 5:46 AM > To: edk2-devel@lists.01.org > Cc: Ni, Ruiyu ; Carsey, Jaben > Subject: [edk2] Possible UEFI Shell Drv

Re: [edk2] [PATCH] ShellPkg/comp: Fix file tag name.

2017-04-20 Thread Carsey, Jaben
Do we need to localize that in HII? I am unsure, but I don't have strong opinion. Reviewed-by: Jaben Carsey > -Original Message- > From: edk2-devel [mailto:edk2-devel-boun...@lists.01.org] On Behalf Of > Ruiyu Ni > Sent: Wednesday, April 19, 2017 7:51 PM > To: edk

Re: [edk2] ShellPkg: Difference in behavior of 'dh' between old shell and new

2017-04-19 Thread Carsey, Jaben
- > From: Jeff Westfahl [mailto:jeff.westf...@ni.com] > Sent: Wednesday, April 19, 2017 10:36 AM > To: edk2-devel@lists.01.org > Cc: Carsey, Jaben ; Ni, Ruiyu > Subject: [edk2] ShellPkg: Difference in behavior of 'dh' between old shell and > new > Importance: Hi

Re: [edk2] [PATCH] ShellPkg/ConsistMapping: Remove unneeded memory reallocation

2017-04-17 Thread Carsey, Jaben
Reviewed-by: Jaben Carsey > -Original Message- > From: Ni, Ruiyu > Sent: Sunday, April 16, 2017 11:29 PM > To: edk2-devel@lists.01.org > Cc: Michael Turner ; Carsey, Jaben > > Subject: [PATCH] ShellPkg/ConsistMapping: Remove unneeded memory > realloc

Re: [edk2] [PATCH] ShellPkg/Pci: Always dump the extended config space for PCIE

2017-04-17 Thread Carsey, Jaben
Reviewed-by: Jaben Carsey > -Original Message- > From: Ni, Ruiyu > Sent: Sunday, April 16, 2017 8:13 PM > To: edk2-devel@lists.01.org > Cc: Carsey, Jaben ; Jim Dailey > Subject: [PATCH] ShellPkg/Pci: Always dump the extended config space for PCIE > Importance: Hig

Re: [edk2] [PATCH] AppPkg/Applications/Python/PyMod-2.7.2: Replace non-ascii characters

2017-04-07 Thread Carsey, Jaben
Reviewed-by: Jaben Carsey > -Original Message- > From: Wu, Hao A > Sent: Thursday, April 06, 2017 7:22 PM > To: edk2-devel@lists.01.org > Cc: Wu, Hao A ; Daryl McDaniel li...@mc2research.org>; Carsey, Jaben > Subject: [PATCH] AppPkg/Applications/Python/PyMod-2.7.2:

Re: [edk2] [PATCH] ShellPkg: Fix Shell to not return without startup.nsh after timeout

2017-04-07 Thread Carsey, Jaben
Reviewed-by: Jaben Carsey > -Original Message- > From: edk2-devel [mailto:edk2-devel-boun...@lists.01.org] On Behalf Of > Ruiyu Ni > Sent: Thursday, April 06, 2017 8:04 PM > To: edk2-devel@lists.01.org > Cc: Chen, Chen A > Subject: [edk2] [PATCH] ShellPkg: Fi

Re: [edk2] How to get fs index from controller handle.

2017-04-06 Thread Carsey, Jaben
Andrew, I was assuming not wanting ShellExecute() might extend to the rest of the shell. If the shell is in use, that can definitely help. While those 2 APIs do exist in theory, there is a single one that does all I think: GetDevicePathFromFilePath. -Jaben From: af...@apple.com [mailto:af

Re: [edk2] How to get fs index from controller handle.

2017-04-06 Thread Carsey, Jaben
That's the way to do it. the hard work is around finding the DevicePath for the application you want to run to pass to LoadImage. > -Original Message- > From: edk2-devel [mailto:edk2-devel-boun...@lists.01.org] On Behalf Of > Amit kumar > Sent: Thursday, April 06, 2017 9:45 AM > To: Andr

Re: [edk2] UEFI Shell Lib Constructor and Shell Parameters Protocol

2017-04-05 Thread Carsey, Jaben
Glad to help. I do not think that UEFI drivers really have the concept of command line parameters... they use other methods for configuration... -Jaben > -Original Message- > From: edk2-devel [mailto:edk2-devel-boun...@lists.01.org] On Behalf Of > jim.dai...@dell.c

Re: [edk2] UEFI Shell Lib Constructor and Shell Parameters Protocol

2017-04-05 Thread Carsey, Jaben
Jim, That protocol must be installed on your applications own image handle for it to be valid. Locating the protocol on some other image would result with finding the other image's command line parameters and the like... -Jaben > -Original Message- > From: edk2-devel [

[edk2] Jaben out next week

2017-03-23 Thread Carsey, Jaben
Hi all, I will be gone until the 3rd of April and unable to check email. Mike has graciously agreed to approve patches from Ray in my absence. -Jaben ___ edk2-devel mailing list edk2-devel@lists.01.org https://lists.01.org/mailman/listinfo/edk2

Re: [edk2] [PATCH] ShellPkg/mm: Support UINT16 segment number

2017-03-23 Thread Carsey, Jaben
Reviewed-by: Jaben Carsey > -Original Message- > From: Ni, Ruiyu > Sent: Wednesday, March 22, 2017 10:29 PM > To: edk2-devel@lists.01.org > Cc: Carsey, Jaben > Subject: [PATCH] ShellPkg/mm: Support UINT16 segment number > Importance: High > > It

Re: [edk2] [PATCH] ShellPkg: Add Shell invocation option '-exit'

2017-03-22 Thread Carsey, Jaben
x27;s most recent patch series. -Jaben > -Original Message- > From: Carsey, Jaben > Sent: Wednesday, March 22, 2017 8:19 AM > To: Ni, Ruiyu ; edk2-devel@lists.01.org > Cc: Chen, Chen A ; Carsey, Jaben > > Subject: RE: [PATCH] ShellPkg: Add Shell invocation option '-

Re: [edk2] [PATCH 1/4] ShellPkg: add GUID declaration for FILE_GUID of UEFI Shell app to package

2017-03-22 Thread Carsey, Jaben
That would be quite nice. I know that spinning GUIDs due to a non-backwards compatible change can be a scary thing. -Jaben > -Original Message- > From: Kinney, Michael D > Sent: Wednesday, March 22, 2017 8:40 AM > To: Carsey, Jaben ; Ard Biesheuvel > ; Kinney, Michae

Re: [edk2] [PATCH 0/4] Shell/Quark/ArmPkg: promote shell app FILE_GUID to proper GUID

2017-03-22 Thread Carsey, Jaben
> -Original Message- > From: edk2-devel [mailto:edk2-devel-boun...@lists.01.org] On Behalf Of > Ard Biesheuvel > Sent: Wednesday, March 22, 2017 8:38 AM > To: edk2-devel@lists.01.org; Leif Lindholm ; Laszlo > Ersek ; Carsey, Jaben ; Ni, > Ruiyu ; Kinney, Michael D &g

Re: [edk2] [PATCH 1/4] ShellPkg: add GUID declaration for FILE_GUID of UEFI Shell app to package

2017-03-22 Thread Carsey, Jaben
Yes. that looks great. For the changes to ShellPkg. Reviewed-by: Jaben Carsey > -Original Message- > From: edk2-devel [mailto:edk2-devel-boun...@lists.01.org] On Behalf Of > Ard Biesheuvel > Sent: Wednesday, March 22, 2017 8:20 AM > To: Carsey, Jaben > Cc: Ni, Ruiyu

Re: [edk2] [PATCH] ShellPkg: Add Shell invocation option '-exit'

2017-03-22 Thread Carsey, Jaben
Sent: Wednesday, March 22, 2017 1:09 AM > To: edk2-devel@lists.01.org > Cc: Chen, Chen A ; Carsey, Jaben > > Subject: [PATCH] ShellPkg: Add Shell invocation option '-exit' > Importance: High > > From: Chen A Chen > > According to Shell spec 2.2 '-exit&#

Re: [edk2] [PATCH 1/4] ShellPkg: add GUID declaration for FILE_GUID of UEFI Shell app to package

2017-03-22 Thread Carsey, Jaben
... -Jaben > -Original Message- > From: edk2-devel [mailto:edk2-devel-boun...@lists.01.org] On Behalf Of > Ard Biesheuvel > Sent: Wednesday, March 22, 2017 7:04 AM > To: edk2-devel@lists.01.org; leif.lindh...@linaro.org; ler...@redhat.com; > Carsey, Jaben ; Ni, Ruiyu ; &

Re: [edk2] [PATCH v2] ShellPkg/tftp: Add one option for tftp command to specify windowsize

2017-03-17 Thread Carsey, Jaben
Looks good. Reviewed-by: Jaben Carsey Note that I have no experience with "WindowSize" and FTP so I am talking about my understanding based on the code and not on the theory. > -Original Message- > From: edk2-devel [mailto:edk2-devel-boun...@lists.01.org] On Behal

Re: [edk2] [Patch 2/2] ShellPkg/tftp: Add one option for tftp command to specify windowsize

2017-03-16 Thread Carsey, Jaben
I'm a little confused by the constants you defined. 2 questions inline... Maybe we need another #define so we have: the max, the min, and the default? -Jaben > -Original Message- > From: Wu, Jiaxin > Sent: Thursday, March 16, 2017 1:36 AM > To: edk2-devel@lists.01.org &g

Re: [edk2] [PATCH v2] ShellPkg/HandleParsingLib: Correct format specifier for LoadedImage

2017-03-15 Thread Carsey, Jaben
launched than other images. Hence my question. I am good with this patch. Ray can you review and push it if you agree? -Jaben > -Original Message- > From: Jeff Westfahl [mailto:jeff.westf...@ni.com] > Sent: Wednesday, March 15, 2017 2:09 PM > To: Carsey, Jaben > Cc

Re: [edk2] [PATCH v2] ShellPkg/HandleParsingLib: Correct format specifier for LoadedImage

2017-03-15 Thread Carsey, Jaben
Does the print call need to be updated to print this out properly? -Jaben > -Original Message- > From: Jeff Westfahl [mailto:jeff.westf...@ni.com] > Sent: Tuesday, March 14, 2017 2:02 PM > To: edk2-devel@lists.01.org > Cc: Jeff Westfahl ; Ni, Ruiyu ; > Carsey, Jaben &g

Re: [edk2] [patch] ShellPkg/UefiShellBcfgCommandLib: Fix VS2012 build failure

2017-03-14 Thread Carsey, Jaben
Looks good to me. Reviewed-by: Jaben Carsey > -Original Message- > From: edk2-devel [mailto:edk2-devel-boun...@lists.01.org] On Behalf Of > Dandan Bi > Sent: Monday, March 13, 2017 6:39 PM > To: edk2-devel@lists.01.org > Cc: Ni, Ruiyu ; Carsey, Jaben > Subject: [e

Re: [edk2] [PATCH] ShellPkg: Fix Shell not able to run startup.nsh from first location

2017-03-06 Thread Carsey, Jaben
Looks good to me. Ray? > -Original Message- > From: Vladimir Olovyannikov [mailto:vladimir.olovyanni...@broadcom.com] > Sent: Monday, March 06, 2017 10:15 AM > To: edk2-devel@lists.01.org; Carsey, Jaben ; Ni, > Ruiyu > Cc: Vladimir Olovyannikov > Subject: [PATCH

Re: [edk2] *BinPkg question

2017-03-06 Thread Carsey, Jaben
. What "external command" is missing from the shell? Except for the DP command (which is not in the spec), I am unaware of "missing" commands. BCFG command can configure the BOOT and DRIVERXXXX variables. -Jaben > -Original Message- > From: edk2-devel [mailt

Re: [edk2] [PATCH 2/2] ShellPkg: Link DxeSmmPerformanceLib to make DP command generic

2017-03-01 Thread Carsey, Jaben
Agree with comments. Great way to make build easier. Reviewed-by: Jaben Carsey > -Original Message- > From: Ni, Ruiyu > Sent: Tuesday, February 28, 2017 11:57 PM > To: Zeng, Star ; edk2-devel@lists.01.org > Cc: Carsey, Jaben ; Gao, Liming > > Subject: RE: [PATC

Re: [edk2] [PATCH v2 09/11] ShellPkg/Debug1CommandLib: Use StrToGuid/StrHexToBytes in BaseLib

2017-02-28 Thread Carsey, Jaben
Reviewed-by: Jaben Carsey > -Original Message- > From: Ni, Ruiyu > Sent: Sunday, February 26, 2017 11:23 PM > To: edk2-devel@lists.01.org > Cc: Carsey, Jaben > Subject: [PATCH v2 09/11] ShellPkg/Debug1CommandLib: Use > StrToGuid/StrHexToBytes in BaseL

Re: [edk2] [PATCH v3 10/12] ShellPkg: Refine casting expression result to bigger size

2017-02-27 Thread Carsey, Jaben
Reviewed-by: Jaben Carsey > -Original Message- > From: Wu, Hao A > Sent: Friday, February 24, 2017 9:13 PM > To: edk2-devel@lists.01.org > Cc: Wu, Hao A ; Carsey, Jaben > ; Ni, Ruiyu > Subject: [PATCH v3 10/12] ShellPkg: Refine casting expression result to bigge

Re: [edk2] [PATCH v3 6/6] ShellPkg: Refine type cast for pointer subtraction

2017-02-27 Thread Carsey, Jaben
Reviewed-by: Jaben Carsey > -Original Message- > From: Wu, Hao A > Sent: Friday, February 24, 2017 8:05 PM > To: edk2-devel@lists.01.org > Cc: Wu, Hao A ; Carsey, Jaben > ; Ni, Ruiyu > Subject: [PATCH v3 6/6] ShellPkg: Refine type cast for pointer subtraction > I

Re: [edk2] [PATCH 1/2] ShellPkg/comp: Rename variable names to proper ones

2017-02-27 Thread Carsey, Jaben
Reviewed-by: Jaben Carsey > -Original Message- > From: edk2-devel [mailto:edk2-devel-boun...@lists.01.org] On Behalf Of > Ruiyu Ni > Sent: Tuesday, February 21, 2017 11:46 PM > To: edk2-devel@lists.01.org > Cc: Carsey, Jaben ; Chen, Chen A > > Subject: [edk2] [

Re: [edk2] [PATCH 2/2] ShellPkg/comp: Add "-n "/"-s " support

2017-02-27 Thread Carsey, Jaben
Reviewed-by: Jaben Carsey > -Original Message- > From: Ni, Ruiyu > Sent: Tuesday, February 21, 2017 11:47 PM > To: edk2-devel@lists.01.org > Cc: Chen, Chen A ; Carsey, Jaben > > Subject: [PATCH 2/2] ShellPkg/comp: Add "-n "/"-s " > suppo

Re: [edk2] [PATCH] ShellPkg/HandleParsingLib: Correct format specifier for LoadedImage

2017-02-17 Thread Carsey, Jaben
; To: Carsey, Jaben > Cc: Ni, Ruiyu ; edk2-devel@lists.01.org; > jeff.westf...@ni.com > Subject: RE: [edk2] [PATCH] ShellPkg/HandleParsingLib: Correct format > specifier for LoadedImage > Importance: High > > My point was that printing one byte of the data as hex is not much b

Re: [edk2] [PATCH] ShellPkg/HandleParsingLib: Correct format specifier for LoadedImage

2017-02-17 Thread Carsey, Jaben
I was reading the email. I was also waiting and making sure there was consensus since I didn't have a strong opinion. I will let Ray check also, but I think the fix is good. Reviewed-by: Jaben Carsey > -Original Message- > From: Jeff Westfahl [mailto:jeff.westf...@ni.

Re: [edk2] EFI_FIRMWARE_IMAGE_DESCRIPTOR v1/v2/v3: MdePkg and ShellPkg

2017-02-17 Thread Carsey, Jaben
The reason for the structs is as Tapan said. The Shell must support all dumps that customers require. The reason for the includes is that it needs to include each protocol that it may dump. I agree that the number of includes looks insane. -Jaben From: Shah, Tapan [mailto:tapands...@hpe.com

Re: [edk2] [PATCH] ShellPkg/pci: Report error when invalid value is specified for "-ec"

2017-02-13 Thread Carsey, Jaben
Ok. That makes sense. > -Original Message- > From: Ni, Ruiyu > Sent: Friday, February 10, 2017 8:36 PM > To: Carsey, Jaben ; edk2-devel@lists.01.org > Subject: RE: [PATCH] ShellPkg/pci: Report error when invalid value is > specified for "-ec" > Importance:

Re: [edk2] [PATCH] ShellPkg/pci: Report error when invalid value is specified for "-ec"

2017-02-10 Thread Carsey, Jaben
Reviewed-by: Jaben Carsey Ray, What is the intended behavior if the user does -ec with no data after it? -Jaben > -Original Message- > From: Ni, Ruiyu > Sent: Friday, February 10, 2017 12:24 AM > To: edk2-devel@lists.01.org > Cc: Carsey, Jaben > Subject: [PATCH] Sh

Re: [edk2] [PATCH] ShellPkg SmbiosView: Correct some outputs for Type 0/3/10

2017-02-09 Thread Carsey, Jaben
Reviewed-by: Jaben Carsey > -Original Message- > From: Zeng, Star > Sent: Thursday, February 09, 2017 1:24 AM > To: edk2-devel@lists.01.org > Cc: Zeng, Star ; Ni, Ruiyu ; > Carsey, Jaben > Subject: [PATCH] ShellPkg SmbiosView: Correct some outputs for Type > 0

Re: [edk2] [PATCH] ShellPkg SmbiosView: Eliminate trailing " | " in PrintBitsInfo()

2017-02-09 Thread Carsey, Jaben
Reviewed-by: Jaben Carsey > -Original Message- > From: edk2-devel [mailto:edk2-devel-boun...@lists.01.org] On Behalf Of > Star Zeng > Sent: Thursday, February 09, 2017 1:23 AM > To: edk2-devel@lists.01.org > Cc: Ni, Ruiyu ; Carsey, Jaben > ; Zeng, Star > Subject:

Re: [edk2] Sourceforge svn mirror of edk2

2017-02-08 Thread Carsey, Jaben
Laszlo - Nice article. Maybe you posted the link before, but if so I had missed it. On a SVN-related note, I noticed that SVN via github also seems to be out of date. Basically the message is: use git. > -Original Message- > From: edk2-devel [mailto:edk2-devel-boun...@lists.01.org] On

Re: [edk2] [PATCH v4 0/3] Remove TimerLib dependency from DP

2017-02-03 Thread Carsey, Jaben
I am good with this change. I like the idea of changing platforms that build the shell from source in a separate patch series. Reviewed-by: Jaben Carsey > -Original Message- > From: edk2-devel [mailto:edk2-devel-boun...@lists.01.org] On Behalf Of > Michael Kinney > Se

Re: [edk2] [PATCH 1/1] ShellPkg/UefiShellLevel2CommandsLib: Fix "cp" for GCC systems

2017-02-03 Thread Carsey, Jaben
Reviewed-by: Jaben Carsey > -Original Message- > From: edk2-devel [mailto:edk2-devel-boun...@lists.01.org] On Behalf Of Ni, > Ruiyu > Sent: Friday, February 3, 2017 12:06 AM > To: Thomas Palmer ; edk2-devel@lists.01.org > Subject: Re: [edk2] [P

Re: [edk2] [PATCH] ShellPkg/cd: Do not print the destination dir when CD exits

2017-01-26 Thread Carsey, Jaben
Reviewed-by: Jaben Carsey > -Original Message- > From: Ni, Ruiyu > Sent: Wednesday, January 25, 2017 8:34 PM > To: edk2-devel@lists.01.org > Cc: Carsey, Jaben ; Chris J Phillips > ; Tapan Shah > Subject: [PATCH] ShellPkg/cd: Do not print the destination dir when

Re: [edk2] [PATCH] Fix edit on screens with more than 200 columns

2017-01-26 Thread Carsey, Jaben
That seems good to me. Reviewed-by: Jaben Carsey Ray, what do you think? -Jaben > -Original Message- > From: Witt, Sebastian [mailto:sebastian.w...@siemens.com] > Sent: Thursday, January 26, 2017 1:01 AM > To: Carsey, Jaben ; edk2-devel@lists.01.org > Subject: RE: [PAT

Re: [edk2] EFI shell script

2017-01-26 Thread Carsey, Jaben
The "if" command supports some numeric comparison, but I don't think we have much more. Can you elaborate on the goal of arithmetic using env vars? -Jaben > -Original Message- > From: edk2-devel [mailto:edk2-devel-boun...@lists.01.org] On Behalf Of > Foster, Ma

Re: [edk2] [PATCH] ShellPkg/pci: Support interpreting specific PCIE ext cap thru "-ec"

2017-01-24 Thread Carsey, Jaben
Reviewed-by: Jaben Carsey > -Original Message- > From: Ni, Ruiyu > Sent: Monday, January 23, 2017 10:43 PM > To: edk2-devel@lists.01.org > Cc: Carsey, Jaben > Subject: [PATCH] ShellPkg/pci: Support interpreting specific PCIE ext cap thru > "-ec&qu

Re: [edk2] [PATCH] Fix edit on screens with more than 200 columns

2017-01-24 Thread Carsey, Jaben
I didn't mean a 400 static, I meant start by allocating 400 and simplify the end of the function... > -Original Message- > From: edk2-devel [mailto:edk2-devel-boun...@lists.01.org] On Behalf Of > Witt, Sebastian > Sent: Tuesday, January 24, 2017 8:48 AM > To: Carsey

Re: [edk2] [PATCH] ShellPkg/pci: Fix extended register dumping for MFVC capability

2017-01-24 Thread Carsey, Jaben
Reviewed-by: Jaben Carsey > -Original Message- > From: Ni, Ruiyu > Sent: Monday, January 23, 2017 10:43 PM > To: edk2-devel@lists.01.org > Cc: Carsey, Jaben > Subject: [PATCH] ShellPkg/pci: Fix extended register dumping for MFVC > capability > Imp

Re: [edk2] [PATCH] ShellPkg/pci: Use PCI definitions defined in MdePkg

2017-01-24 Thread Carsey, Jaben
Reviewed-by: Jaben Carsey > -Original Message- > From: Ni, Ruiyu > Sent: Monday, January 23, 2017 10:52 PM > To: edk2-devel@lists.01.org > Cc: Carsey, Jaben > Subject: [PATCH] ShellPkg/pci: Use PCI definitions defined in MdePkg > Importance: High > > htt

Re: [edk2] [PATCH] Fix edit on screens with more than 200 columns

2017-01-24 Thread Carsey, Jaben
Is there a reason to not just always start with allocating the 400 and then we don't need to complicate the end to conditionally free the buffer? > -Original Message- > From: edk2-devel [mailto:edk2-devel-boun...@lists.01.org] On Behalf Of Witt, > Sebastian > Sent: Tuesday, January 24, 20

Re: [edk2] [PATCH] ShellPkg/pci: Use PCI definitions defined in MdePkg

2017-01-24 Thread Carsey, Jaben
Reviewed-by: Jaben Carsey > -Original Message- > From: edk2-devel [mailto:edk2-devel-boun...@lists.01.org] On Behalf Of Ruiyu > Ni > Sent: Monday, January 23, 2017 10:42 PM > To: edk2-devel@lists.01.org > Cc: Jaben Carsey > Subject: [edk2] [PATCH] ShellPkg/pci

Re: [edk2] [PATCH 3/3] ShellPkg SmbiosView: Add decoding of SMBIOS spec 3.1.1

2017-01-23 Thread Carsey, Jaben
I was wondering if some replaced version of HiiLib could use the StrDefs.h differently and save the overhead if only one language is present... -Jaben > -Original Message- > From: edk2-devel [mailto:edk2-devel-boun...@lists.01.org] On Behalf Of Tim > Lewis > Sent: Monday

Re: [edk2] [PATCH 3/3] ShellPkg SmbiosView: Add decoding of SMBIOS spec 3.1.1

2017-01-23 Thread Carsey, Jaben
Tim, I meant some customers do localize the shell and we don't want to arbitrarily restrict that. Do you have any ideas on how to remove the overhead when localization is not required? -Jaben > -Original Message- > From: Tim Lewis [mailto:tim.le...@insyde.com] > Sent: M

Re: [edk2] [PATCH 3/3] ShellPkg SmbiosView: Add decoding of SMBIOS spec 3.1.1

2017-01-23 Thread Carsey, Jaben
strings meet that criterion. -Jaben > -Original Message- > From: Tim Lewis [mailto:tim.le...@insyde.com] > Sent: Monday, January 23, 2017 12:52 PM > To: Carsey, Jaben ; Ni, Ruiyu > ; Zeng, Star ; edk2- > de...@lists.01.org > Subject: RE: [PATCH 3/3] ShellPkg Smbios

Re: [edk2] [PATCH 3/3] ShellPkg SmbiosView: Add decoding of SMBIOS spec 3.1.1

2017-01-23 Thread Carsey, Jaben
Reviewed-by: Jaben Carsey I think that string mixed use existed in the EDK version of the command and was just never removed. -Jaben > -Original Message- > From: Ni, Ruiyu > Sent: Sunday, January 22, 2017 1:49 AM > To: Zeng, Star ; edk2-devel@lists.01.org > Cc

Re: [edk2] [PATCH] ShellPkg SmbiosView: Add missing decoding of SlotType AGP8X

2017-01-18 Thread Carsey, Jaben
Reviewed-by: Jaben Carsey > -Original Message- > From: Zeng, Star > Sent: Monday, January 16, 2017 7:23 PM > To: edk2-devel@lists.01.org > Cc: Zeng, Star ; Carsey, Jaben ; > Ni, Ruiyu > Subject: [PATCH] ShellPkg SmbiosView: Add missing decoding of SlotType

Re: [edk2] [PATCH] ShellPkg SmbiosView: Add missing decoding of SMBIOS spec 3.0.0

2017-01-18 Thread Carsey, Jaben
Reviewed-by: Jaben Carsey > -Original Message- > From: Zeng, Star > Sent: Monday, January 16, 2017 7:24 PM > To: edk2-devel@lists.01.org > Cc: Zeng, Star ; Carsey, Jaben ; > Ni, Ruiyu > Subject: [PATCH] ShellPkg SmbiosView: Add missing decoding of SMBIOS spec &g

Re: [edk2] [patch] ShellPkg/HandleParsingLib: Fix coding style issue

2017-01-18 Thread Carsey, Jaben
Reviewed-by: Jaben Carsey > -Original Message- > From: Bi, Dandan > Sent: Sunday, January 15, 2017 6:04 PM > To: edk2-devel@lists.01.org > Cc: Carsey, Jaben ; Ni, Ruiyu > Subject: [patch] ShellPkg/HandleParsingLib: Fix coding style issue > Importance: High >

Re: [edk2] [PATCH 0/3] Add SMBIOS spec 3.1.0 support

2017-01-18 Thread Carsey, Jaben
Reviewed-by: Jaben Carsey For the ShellPkg content. > -Original Message- > From: Zeng, Star > Sent: Monday, January 16, 2017 7:25 PM > To: edk2-devel@lists.01.org > Cc: Zeng, Star ; Gao, Liming ; > Kinney, Michael D ; Tian, Feng > ; Ni, Ruiyu ; Carsey, Jaben >

Re: [edk2] [PATCH 0/5] Change "dh" to support dump from GUID and "decode" parameter

2017-01-10 Thread Carsey, Jaben
Sounds good. > -Original Message- > From: Ni, Ruiyu > Sent: Monday, January 09, 2017 6:24 PM > To: Carsey, Jaben ; edk2-devel@lists.01.org; > Kinney, Michael D > Cc: Wu, Hao A > Subject: RE: [edk2] [PATCH 0/5] Change "dh" to support dump from GUID > a

Re: [edk2] [PATCH 4/5] ShellPkg/Dh: Fix coding style issues

2017-01-10 Thread Carsey, Jaben
Oh. Reviewed-by: Jaben Carsey > -Original Message- > From: Ni, Ruiyu > Sent: Monday, January 09, 2017 6:25 PM > To: Carsey, Jaben ; edk2-devel@lists.01.org > Cc: Chen, Chen A > Subject: RE: [PATCH 4/5] ShellPkg/Dh: Fix coding style issues

Re: [edk2] Improvement at Wiki (EFI_SHELL_INTERFACE)

2017-01-09 Thread Carsey, Jaben
Rafael, Actually it's the opposite. EFI_SHELL_INTERFACE is the older and deprecated protocol. I do not know of any active development using that protocol. -Jaben > -Original Message- > From: edk2-devel [mailto:edk2-devel-boun...@lists.01.org] On Behalf Of Rafael >

Re: [edk2] [Patch] Nt32Pkg/WinNtSimpleFileSystemDxe: Fix ASSERT() parsing '\'

2017-01-09 Thread Carsey, Jaben
Reviewed-by: Jaben Carsey > -Original Message- > From: Kinney, Michael D > Sent: Saturday, January 7, 2017 11:19 AM > To: edk2-devel@lists.01.org > Cc: Ni, Ruiyu ; Carsey, Jaben ; > Kinney, Michael D > Subject: [Patch] Nt32Pkg/WinNtSimpleFileSystemDxe:

Re: [edk2] [PATCH 0/5] Change "dh" to support dump from GUID and "decode" parameter

2017-01-09 Thread Carsey, Jaben
Looks good. Reviewed-by: Jaben Carsey I had one inline question. I would also propose that the String to GUID conversion be placed in a shared library. Maybe even baselib with the other string functions? Mike, do you have any thoughts on StringToGuid conversion? > -Original Mess

Re: [edk2] [PATCH 4/5] ShellPkg/Dh: Fix coding style issues

2017-01-09 Thread Carsey, Jaben
One question inline. > -Original Message- > From: Ni, Ruiyu > Sent: Monday, January 9, 2017 1:31 AM > To: edk2-devel@lists.01.org > Cc: Chen, Chen A ; Carsey, Jaben > > Subject: [PATCH 4/5] ShellPkg/Dh: Fix coding style issues > Importance: High > > From

Re: [edk2] [PATCH] ShellPkg: Fix a bug ">>v" cannot append data to environment variable

2017-01-04 Thread Carsey, Jaben
Reviewed-by: Jaben Carsey Please verify appropriate copyright before commit (I guess this file needs year update). > -Original Message- > From: edk2-devel [mailto:edk2-devel-boun...@lists.01.org] On Behalf Of > Ruiyu Ni > Sent: Tuesday, January 03, 2017 7:23 PM > To: edk2

Re: [edk2] LocateHandle for gEfiShellProtocolGuid is failing in my application

2016-12-28 Thread Carsey, Jaben
ShellBinPkg should be the right location to get a UEFI Shell from (for the record the EdkShellBinPkg would be the old version). If you do "ver -s" the ourput will provide additional version information about the shell itself. Have you updated your git version recently? -Jaben >

Re: [edk2] Hide SimpleFileSystem instance from UEFI shell

2016-12-28 Thread Carsey, Jaben
I don't think that facility exists. Seems like configuration is a common use for the UEFI Shell so I don't see that as a major downside myself. -Jaben > -Original Message- > From: edk2-devel [mailto:edk2-devel-boun...@lists.01.org] On Behalf Of > Konrad Adamczy

Re: [edk2] LocateHandle for gEfiShellProtocolGuid is failing in my application

2016-12-27 Thread Carsey, Jaben
I wonder if the firmware supplier is using an older version of the shell binary? Maybe it is EDK Shell and not UEFI Shell? I am unsure how to fix the issue. -Jaben > -Original Message- > From: edk2-devel [mailto:edk2-devel-boun...@lists.01.org] On Behalf Of > GN Kesha

Re: [edk2] [PATCH 2/2] ShellPkg/cd: Fix "cd" to support "fs0:dir" (no slash after ':')

2016-12-27 Thread Carsey, Jaben
Right. The question is can the user from the shell prompt trigger the assert. I didn't see clear protection from the users input to the function's assert. -Jaben From: Ni, Ruiyu Sent: Thursday, December 22, 2016 9:43 PM To: Carsey, Jaben ; edk2-devel@lists.01.org Cc: Carsey, Ja

Re: [edk2] LocateHandle for gEfiShellProtocolGuid is failing in my application

2016-12-22 Thread Carsey, Jaben
That function is not in the shell library. LocateHandle would be useful is you wanted to find the image handle for the shell binary whereas LocaetProtocol would be just getting a pointer to the protocol. Which version of the UEFI Shell are you using? (what does “ver” command say) -Jaben

Re: [edk2] LocateHandle for gEfiShellProtocolGuid is failing in my application

2016-12-21 Thread Carsey, Jaben
d then your application? -Jaben > -Original Message- > From: edk2-devel [mailto:edk2-devel-boun...@lists.01.org] On Behalf Of > GN Keshava > Sent: Tuesday, December 20, 2016 11:32 PM > To: edk2-devel@lists.01.org > Subject: [edk2] LocateHandle for gEfiShellProtocolGuid i

<    2   3   4   5   6   7   8   9   10   11   >