Additional info:
It crashes on ShellExecute with a memory violation and I'm using 64 bit
UEFI 2.1+, UDK2010, and VS2008.
On Tue, Feb 12, 2013 at 10:30 PM, Thomas Rognon <tcrog...@gmail.com> wrote:
> UEFI Ninjas,
>
> I can execute an uefi application from the shell as follows:
> Shell>map -r
> Shell>fs0:
> fs0:>launch.efi
>
> But when I try this, it hangs and I have to restart the machine:
> Shell>map -r
> Shell>fs0:
> fs0:>test.efi
>
> where test.efi executes only the following code in UefiMain:
> ShellInitialize ();
> CommandInit ();
> ShellExecute (ImageHandle, L"fs0:\\launch.efi", FALSE, NULL, NULL);
> return EFI_SUCCESS;
>
> where ImageHandle is the parameter passed into UefiMain.
>
> If anyone can help, I would appreciate it very much!
>
> Thomas Rognon
>
------------------------------------------------------------------------------
Free Next-Gen Firewall Hardware Offer
Buy your Sophos next-gen firewall before the end March 2013
and get the hardware for free! Learn more.
http://p.sf.net/sfu/sophos-d2d-feb
_______________________________________________
edk2-devel mailing list
edk2-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/edk2-devel