Right. UEFI spec defines ExitData format that null terminated string + optional 
binary data. 

> -----Original Message-----
> From: David F. [mailto:[email protected]]
> Sent: Wednesday, September 13, 2017 12:07 PM
> To: Gao, Liming <[email protected]>
> Cc: [email protected]
> Subject: Re: [edk2] StartImage() return value an error or return code ?
> 
> But what if you're running some unknown app that you don't know the
> return code format in the ExitData?  It seems to just read that the
> ExitData will be some text followed by some binary data.
> 
> On Mon, Sep 11, 2017 at 12:43 AM, Gao, Liming <[email protected]> wrote:
> > Per UEFI spec, StartImage() has the optional output ExitData. If ExitData 
> > is not NULL, the exit status will be from the image.
> >
> >>-----Original Message-----
> >>From: edk2-devel [mailto:[email protected]] On Behalf Of
> >>David F.
> >>Sent: Friday, September 08, 2017 2:53 PM
> >>To: [email protected]
> >>Subject: [edk2] StartImage() return value an error or return code ?
> >>
> >>Hi,
> >>
> >>Is there a way to tell if the return code from StartImage() is
> >>actually an error from StartImage() vs the exit code of some
> >>application (generic application that may return an error code value
> >>but not set exitdata).    It would seem to conflict with
> >>EFI_INVALID_PARAMETER and EFI_SECURITY_VIOLATION  so where actual
> >>value came from is unknown?
> >>
> >>TIA!!
> >>_______________________________________________
> >>edk2-devel mailing list
> >>[email protected]
> >>https://lists.01.org/mailman/listinfo/edk2-devel
_______________________________________________
edk2-devel mailing list
[email protected]
https://lists.01.org/mailman/listinfo/edk2-devel

Reply via email to