> On Apr 20, 2015, at 10:44 AM, S.Vieira <jwvsan...@outlook.com> wrote: > > myApplication has to run with and without Shell. >
That is possible you just need to detect one of the shell protocols and do something different based on if the shell is present. > So, i know which: > > #1 - if run without shell the application going to run with shell. > Or not? > > #2 - run with and without Shell are requirements. > > #3 - I have to do "upload" of the AtaPassThruDxe.efi without to use the > Shell Command. Because it, i need call one function to load this file, in an > automatic way. > It is not easy to pass arguments to a non shell command. Lots of systems do not a user interface to do this. That is because the arguments are set by the OS installer and stored in NVRAM. From an EFI point of view the argument format is not defined, as that is up to the OS to define. A common thing to do is look at the device your application was loaded from. The ImageHandle passed into the entry point will contain the LOADED_IMAGE_PROTOCOL. You can get the DeviceHandle and FilePath to figure out where you App was loaded from and look for AtaPassThruDxe.efi in a location relative to that information. Thanks, Andrew Fish > > Att. > Vieira. > > > The question is why you your non Shell application needs to use the Shell > pecific names? The Volume names, > which Simple Filesystem Protocol instance to use, are shell specific. > > Not to mention passing arguments is kind of hard without the shell. What > are you trying to do? > > Thanks, > > Andrew Fish > > > > ------------------------------------------------------------------------------ > BPM Camp - Free Virtual Workshop May 6th at 10am PDT/1PM EDT > Develop your own process in accordance with the BPMN 2 standard > Learn Process modeling best practices with Bonita BPM through live exercises > http://www.bonitasoft.com/be-part-of-it/events/bpm-camp-virtual- event?utm_ > source=Sourceforge_BPM_Camp_5_6_15&utm_medium=email&utm_campaign=VA_SF > _______________________________________________ > edk2-devel mailing list > edk2-devel@lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/edk2-devel ------------------------------------------------------------------------------ BPM Camp - Free Virtual Workshop May 6th at 10am PDT/1PM EDT Develop your own process in accordance with the BPMN 2 standard Learn Process modeling best practices with Bonita BPM through live exercises http://www.bonitasoft.com/be-part-of-it/events/bpm-camp-virtual- event?utm_ source=Sourceforge_BPM_Camp_5_6_15&utm_medium=email&utm_campaign=VA_SF _______________________________________________ edk2-devel mailing list edk2-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/edk2-devel