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 <liming....@intel.com> 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:edk2-devel-boun...@lists.01.org] On Behalf Of
>>David F.
>>Sent: Friday, September 08, 2017 2:53 PM
>>To: edk2-devel@lists.01.org
>>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
>>edk2-devel@lists.01.org
>>https://lists.01.org/mailman/listinfo/edk2-devel
_______________________________________________
edk2-devel mailing list
edk2-devel@lists.01.org
https://lists.01.org/mailman/listinfo/edk2-devel

Reply via email to