On Jan 8, 2013, at 4:41 PM, Andrew Fish <af...@apple.com> wrote: > Here is an existing example, that also does mode changing. > > https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2/MdePkg/Library/BaseLib/X64/Thunk16.S >
And while I'm at it here are examples of calling between ELF/Unix ABI and EFI ABI https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2/EmulatorPkg/Unix/Host/X64/Gasket.S The Emulator runs as a Unix/OS X application (ELF ABI) and then loads an FV and starts executing EFI code. So the gasket code deals with switching back and forth between the worlds. So for example it is possible to pass up a protocol from the application (ELF ABI) to EFI (EFI ABI) so you can do things like make an X11 window into an EFI GOP for the system graphics device. > Thanks, > > Andrew ------------------------------------------------------------------------------ Master Java SE, Java EE, Eclipse, Spring, Hibernate, JavaScript, jQuery and much more. Keep your Java skills current with LearnJavaNow - 200+ hours of step-by-step video tutorials by Java experts. SALE $49.99 this month only -- learn more at: http://p.sf.net/sfu/learnmore_122612 _______________________________________________ edk2-devel mailing list edk2-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/edk2-devel