Oh wait. Please Ignore my last email. I just found the command to load an
application in Nt32Pkg.  Type only the name of the application. "load" is
not required.

Now I have managed to load x86 version of boogmgfw.efi in Nt32Pkg shell. It
seems to start okay. An exception "0xC0000096: Privileged instruction" occurs
at the following line in CoreStartImage():

      Image->Status = Image->EntryPoint (ImageHandle,
Image->Info.SystemTable);

But I think that's expected because this exception is coming from inside
the image itself and, being a bootloader, this image is calling some
privileged instruction which SecMain.exe cannot support.

Could this be the cause of the failure inside my shim? May be bootmgfw.efi
needs some more privileges or something and my puny shim doesn't have them?
Could that be a reason why StartImage() is returning EFI_INVALID_PARAMETER?

-Gurinder
------------------------------------------------------------------------------
Open source business process management suite built on Java and Eclipse
Turn processes into business applications with Bonita BPM Community Edition
Quickly connect people, data, and systems into organized workflows
Winner of BOSSIE, CODIE, OW2 and Gartner awards
http://p.sf.net/sfu/Bonitasoft
_______________________________________________
edk2-devel mailing list
edk2-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/edk2-devel

Reply via email to