/8 or boot into EFI Shell 1.0 on a UEFI PC/Notebook and test it for
yourself at runtime, perhaps we can confirm that it is a bug in the EDK2 source.
From: af...@apple.com
Date: Mon, 22 Sep 2014 17:58:53 -0700
To: edk2-devel@lists.sourceforge.net
Subject: Re: [edk2] ShellExecute crashing in N
ng Win32 base tools
> without build.exe :p (I'll figure it out..)
>
Base tools build from running nmake in the BaseTools dir.
> From: af...@apple.com
> Date: Mon, 22 Sep 2014 16:05:23 -0700
> To: edk2-devel@lists.sourceforge.net
> Subject: Re: [edk2] ShellExecute crashin
:05:23 -0700
To: edk2-devel@lists.sourceforge.net
Subject: Re: [edk2] ShellExecute crashing in NT emulator - [Bug Found]
On Sep 22, 2014, at 3:09 PM, J. E. wrote:HiI am not
accessing it from my app, i am fixing a bug in udk2014.
It is hard to tell from your mail as you keep showing code fragments,
On Sep 22, 2014, at 3:09 PM, J. E. wrote:
> Hi
>
> I am not accessing it from my app, i am fixing a bug in udk2014.
>
It is hard to tell from your mail as you keep showing code fragments, and not a
diff or code fragment plus what file it came from.
> My app is only calling ShellExecute.
M
To: edk2-devel@lists.sourceforge.net
Subject: Re: [edk2] ShellExecute crashing in NT emulator - [Bug Found]
On Sep 21, 2014, at 11:01 PM, J. E. wrote:
> I found the problem!
>
> *ParentHandle should not have the pointer in it.
> Removing the '*' solved the problem.
>
&
status
> //
> if (Status != NULL) {
> *Status = CmdStatus;
> }
> //
> // If there was an error, we can't tell if it was from the command or from
> // the Execute() function, so we'll just assume the shell ran successfully
> // and the
hines,
perhaps there needs to be code added to check if the pointer is needed or not.
Thanks Andrew and Tim for your help.
From: nszero...@hotmail.com
To: edk2-devel@lists.sourceforge.net
Date: Mon, 22 Sep 2014 11:45:04 +1000
Subject: Re: [edk2] ShellExecute crashing in NT emulator
I f
ume the shell ran successfully
// and the error came from the command.
//
return EFI_SUCCESS;
}
return (EFI_UNSUPPORTED);
}
From: nszero...@hotmail.com
To: edk2-devel@lists.sourceforge.net
Date: Mon, 22 Sep 2014 10:54:11 +1000
Subject: Re: [edk2] ShellExecute crashing in NT emulator
s]
UefiShellLib
-
MdeModulePkg.dsc
[LibraryClasses]
UefiShellLib|ShellPkg\Library\UefiShellLib/UefiShellLib.inf
From: tim.le...@insyde.com
To: edk2-devel@lists.sourceforge.net
Date: Fri, 19 Sep 2014 16:30:18 +
Subject: Re: [edk2] ShellExecute crashing in NT emulator
It appears yo
On Sep 18, 2014, at 10:21 PM, J. E. wrote:
> Yep thats the first thing I did, search all of UDK for SHELLENV_GET_ENV using
> Agent Ransack which searches binary and unicode as well.
> I found nothing except for the EfiShellEnvironment2.h and UefiShellLib.lib
> files.
> No idea where SHELLENV_G
: edk2-devel@lists.sourceforge.net
Subject: Re: [edk2] ShellExecute crashing in NT emulator
Yep thats the first thing I did, search all of UDK for SHELLENV_GET_ENV using
Agent Ransack which searches binary and unicode as well.
I found nothing except for the EfiShellEnvironment2.h and
the code so I cant debug it.
Everything compiles ok.
Maybe I should download the latest source instead of using the UDK2014 release,
or change the compiler to GCC or Intel.
From: af...@apple.com
Date: Thu, 18 Sep 2014 18:48:25 -0700
To: edk2-devel@lists.sourceforge.net
Subject: Re: [edk2] ShellExec
gument to install protocol boot service.
Thanks,
Andrew Fish
>
> From: af...@apple.com
> Date: Thu, 18 Sep 2014 16:38:51 -0700
> To: edk2-devel@lists.sourceforge.net
> Subject: Re: [edk2] ShellExecute crashing in NT emulator
>
>
> On Sep 18, 2014, at 4:24 PM, J. E. wrot
);
Which c file has the actual source code?
From: af...@apple.com
Date: Thu, 18 Sep 2014 16:38:51 -0700
To: edk2-devel@lists.sourceforge.net
Subject: Re: [edk2] ShellExecute crashing in NT emulator
On Sep 18, 2014, at 4:24 PM, J. E. wrote:I am compiling
and running secmain from the command
gt; I'll see if I can debug the ShellExecute function directly to find out which
> line is crashing out
>
Look at: http://tianocore.sourceforge.net/wiki/NT32
Thanks,
Andrew Fish
> From: af...@apple.com
> Date: Thu, 18 Sep 2014 10:25:30 -0700
> To: edk2-devel@lists.sourcefor
m: af...@apple.com
Date: Thu, 18 Sep 2014 10:25:30 -0700
To: edk2-devel@lists.sourceforge.net
Subject: Re: [edk2] ShellExecute crashing in NT emulator
On Sep 18, 2014, at 6:22 AM, J. E. wrote:The below code
is crashing the emulator, any ideas?
Do you get a stack trace and error messages from the
On Sep 18, 2014, at 6:22 AM, J. E. wrote:
> The below code is crashing the emulator, any ideas?
Do you get a stack trace and error messages from the crash?
Thanks,
Andrew Fish
> Is it a Windows 8 thing? (can't test a Win7 system or via proper EFI shell
> right now)
>
>
> EFI_STATUS
> EFIA
The below code is crashing the emulator, any ideas?Is it a Windows 8 thing?
(can't test a Win7 system or via proper EFI shell right now)
EFI_STATUSEFIAPIUefiMain ( IN EFI_HANDLEImageHandle, IN
EFI_SYSTEM_TABLE *SystemTable ){EFI_STATUS Status;Status =
ShellExecute(ImageHandl
Point
>
> On Wed, Feb 13, 2013 at 3:09 PM, Carsey, Jaben wrote:
>
>> Try like this (no drive information) – that’s how I’ve used it before. *
>> ***
>>
>> ** **
>>
>> Status = ShellExecute (
>>
>> ImageHandle,
>>
>> L"Load.efi"
//
>
> // Load.c
>
>
>
>
>
> #include
>
> #include
>
>
>
> EFI_STATUS
>
> EFIAPI
>
> UefiMain (
>
> IN EFI_HANDLEImageHandle,
>
>
ognon [mailto:tcrog...@gmail.com]
> *Sent:* Wednesday, February 13, 2013 12:06 PM
>
> *To:* edk2-devel@lists.sourceforge.net
> *Subject:* Re: [edk2] ShellExecute
>
> ** **
>
> I'm new to this and using CommandInit because I've seen it used after
> Sh
com]
Sent: Wednesday, February 13, 2013 12:06 PM
To: edk2-devel@lists.sourceforge.net
Subject: Re: [edk2] ShellExecute
I'm new to this and using CommandInit because I've seen it used after
ShellInitialize in other files. I removed it and now it doesn't hang, but
ShellExecute return
ave you tried removing the CommandInit() call? Why do you need that?***
> *
>
> ** **
>
> *From:* Thomas Rognon [mailto:tcrog...@gmail.com]
> *Sent:* Tuesday, February 12, 2013 8:43 PM
> *To:* edk2-devel@lists.sourceforge.net
> *Subject:* Re: [edk2] ShellExecute
>
> ** *
Have you tried removing the CommandInit() call? Why do you need that?
From: Thomas Rognon [mailto:tcrog...@gmail.com]
Sent: Tuesday, February 12, 2013 8:43 PM
To: edk2-devel@lists.sourceforge.net
Subject: Re: [edk2] ShellExecute
Additional info:
It crashes on ShellExecute with a memory
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 wrote:
> UEFI Ninjas,
>
> I can execute an uefi application from the shell as follows:
> Shell>map -r
> Shell>fs0:
> fs0:>laun
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 ()
26 matches
Mail list logo