On Sat, Apr 26, 2014 at 11:41 PM, WANG Siyuan <[email protected]> wrote:
> Hi,
> I want to add smm support to OVMF to see how DXE_SMM_DRIVER works.
> I add MdeModulePkg/Core/PiSmmCore/PiSmmIpl.inf and
> MdeModulePkg/Core/PiSmmCore/PiSmmCore.inf to Ovmf's .dsc and .fdf files. But
> 2 protocols are needed: EFI_SMM_ACCESS2_PROTOCOL and
> EFI_SMM_CONTROL2_PROTOCOL.
>
> I am not sure how to add these two protocols. Does anybody ever added smm
> support to OVMF?

Apparently, the non-VM accelerated QEMU supports SMM, but we have not
added support for this in OVMF.

The VM accelerated QEMU+KVM doesn't support SMM. Usually you want to
use KVM for the performance advantage, so most of the time SMM support
would not be usable with OVMF.

I think Laszlo's s3_v2 (not v3) branch at:
https://github.com/lersek/edk2.git
may have set up an environment that pretended to support those SMM
protocols. But, I don't think that would get you very far in working
on a real SMM driver.

-Jordan

------------------------------------------------------------------------------
Start Your Social Network Today - Download eXo Platform
Build your Enterprise Intranet with eXo Platform Software
Java Based Open Source Intranet - Social, Extensible, Cloud Ready
Get Started Now And Turn Your Intranet Into A Collaboration Platform
http://p.sf.net/sfu/ExoPlatform
_______________________________________________
edk2-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/edk2-devel

Reply via email to