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

