On Sep 16, 2013, at 11:11 AM, "Richardson, Brian" <brian.richard...@intel.com> 
wrote:

> OVMF is the best option for development in an emulator. 
> 

Well that kind of depends what you are developing..... But it is a good 
opportunity to discuss the differences.  

The Nt32Pkg and EmulatorPkg are OS Applications that produce software APIs that 
are used to abstract hardware. 
OVMF uses QEMU to emulate a platform, so there is "real" emulated hardware 
available. 

EmulatorPkg/NT32/Pkg:
Limitations: Can't boot an OS, can't do ExitBootServices, can not execute 
privilege instructions (page tables, interrupts, etc). 
Benefits: Simple, can use Application debug environment to debug EFI. 

OVMF:
Limitations: Requires QEMU, serial port debugging (not well documented), more 
complex setup. 
Benefits: Can boot any UEFI OS! Closer to real platforms. Cross architecture, 
so you could boot an ARM VM on your X86 system.  

So basically generic UEFI applications can be constructed in either 
environment. It is possible to do work on the DXE Core, or the shell in the 
Nt32Pkg/EmulatorPkg as well as the OVMF. If you need to boot, or run an UEFI 
OS, then OVMF is your only option. 

Thanks,

Andrew Fish


> Thanks ... br
> ---
> Brian Richardson -- brian.richard...@intel.com -- Twitter: intel_brian
> 
> -----Original Message-----
> From: Blibbet [mailto:blib...@gmail.com] 
> Sent: Monday, September 16, 2013 2:08 PM
> To: edk2-devel@lists.sourceforge.net
> Subject: [edk2] UnixPkg or EmulatoPkg?
> 
> Hi,
> 
> I've only used the NT-based emulator, and am now trying to get the proper 
> emulator to run on Linux (Ubuntu 12.x).
> 
> Sorry for a newbie question, but which is the proper direction to be trying, 
> UnixPkg or EmulatorPkg? Long term it sounds like Emulator, but what works 
> better today?
> 
> I haven't found any info on using the NT emulator under WINE. ;-)
> 
> Any advice is appreciated.
> 
> Thanks,
> Lee
> 
> ------------------------------------------------------------------------------
> LIMITED TIME SALE - Full Year of Microsoft Training For Just $49.99!
> 1,500+ hours of tutorials including VisualStudio 2012, Windows 8, SharePoint 
> 2013, SQL 2012, MVC 4, more. BEST VALUE: New Multi-Library Power Pack 
> includes Mobile, Cloud, Java, and UX Design. Lowest price ever! Ends 9/20/13. 
> http://pubads.g.doubleclick.net/gampad/clk?id=58041151&iu=/4140/ostg.clktrk
> _______________________________________________
> edk2-devel mailing list
> edk2-devel@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/edk2-devel
> 
> ------------------------------------------------------------------------------
> LIMITED TIME SALE - Full Year of Microsoft Training For Just $49.99!
> 1,500+ hours of tutorials including VisualStudio 2012, Windows 8, SharePoint
> 2013, SQL 2012, MVC 4, more. BEST VALUE: New Multi-Library Power Pack includes
> Mobile, Cloud, Java, and UX Design. Lowest price ever! Ends 9/20/13. 
> http://pubads.g.doubleclick.net/gampad/clk?id=58041151&iu=/4140/ostg.clktrk
> _______________________________________________
> edk2-devel mailing list
> edk2-devel@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/edk2-devel


------------------------------------------------------------------------------
LIMITED TIME SALE - Full Year of Microsoft Training For Just $49.99!
1,500+ hours of tutorials including VisualStudio 2012, Windows 8, SharePoint
2013, SQL 2012, MVC 4, more. BEST VALUE: New Multi-Library Power Pack includes
Mobile, Cloud, Java, and UX Design. Lowest price ever! Ends 9/20/13. 
http://pubads.g.doubleclick.net/gampad/clk?id=58041151&iu=/4140/ostg.clktrk
_______________________________________________
edk2-devel mailing list
edk2-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/edk2-devel

Reply via email to