Hi Oliver,
Why did you check in the patch to put the exit-code in ExitData? In my opinion,
unless Shell spec defines that the exit-code can be got from the ExitData,
putting the exit-code in ExitData and always returning EFI_ABORTED doesn't make
sense to the caller.
>From the current wording in the shell spec 2.1 (If exiting an instance of the
>UEFI shell, the value that will be returned to the caller.), caller can get
>the exit-code from StartImage()'s return status.
Thanks,
Ray
From: Phillips, Chris J (Plano, TX) [mailto:[email protected]]
Sent: Friday, September 12, 2014 2:12 AM
To: [email protected]; Kirmeier, Peter; Olivier Martin
Subject: Re: [edk2] [Patch]ShellPkg: Make shell image exit with exit code
instead of EFI_ABORTED while exit status is other than SHELL_SUCCESS.
Shumin,
Please wait for Olivier to look at this. I do not believe this change should
be made.
The Exit() boot service requires the second parameter to be of type EFI_STATUS.
Also, Olivier previously submitted a change so ExitData contains NULL string
followed by ExitStatus.
Thanks,
Chris
From: Carsey, Jaben [mailto:[email protected]]
Sent: Thursday, September 11, 2014 12:11 PM
To: Kirmeier, Peter;
[email protected]<mailto:[email protected]>;
Olivier Martin
Subject: Re: [edk2] [Patch]ShellPkg: Make shell image exit with exit code
instead of EFI_ABORTED while exit status is other than SHELL_SUCCESS.
Reviewed-by: Jaben Carsey
<[email protected]<mailto:[email protected]>>
From: Kirmeier, Peter [mailto:[email protected]]
Sent: Wednesday, September 10, 2014 11:38 PM
To: [email protected]<mailto:[email protected]>;
Carsey, Jaben; Olivier Martin
Subject: RE: [edk2] [Patch]ShellPkg: Make shell image exit with exit code
instead of EFI_ABORTED while exit status is other than SHELL_SUCCESS.
Importance: High
Signed-off-by: Peter Kirmeier
<[email protected]<mailto:[email protected]>>
From: Qiu, Shumin [mailto:[email protected]]
Sent: Thursday, September 11, 2014 8:01 AM
To: Carsey, Jaben; Olivier Martin
Cc: [email protected]<mailto:[email protected]>
Subject: [edk2] [Patch]ShellPkg: Make shell image exit with exit code instead
of EFI_ABORTED while exit status is other than SHELL_SUCCESS.
Hi Jaben and Olivier,
Could you help to review the patch? When exit status is not SHELL_SUCCESS make
the shell exit with the exit code instead of EFI_ABORTED.
Contributed-under: TianoCore Contribution Agreement 1.0
Signed-off-by: Qiu Shumin <[email protected]<mailto:[email protected]>>
Thanks,
Shumin
------------------------------------------------------------------------------
Want excitement?
Manually upgrade your production database.
When you want reliability, choose Perforce
Perforce version control. Predictably reliable.
http://pubads.g.doubleclick.net/gampad/clk?id=157508191&iu=/4140/ostg.clktrk
_______________________________________________
edk2-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/edk2-devel