On 04/27/14 17:38, Jordan Justen wrote: > 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.
Huh, what a surprise; I had pushed that there?... :) So, the following three commits are theoretically relevant: 1. https://github.com/lersek/edk2/commit/59fc7eb2 adds the two protocols 2. https://github.com/lersek/edk2/commit/5188c6cf pulls in PiSmmIpl and PiSmmCore, and resolves some library dependencies for them 3. https://github.com/lersek/edk2/commit/0fb124ea pulls in an SMM DXE driver, resolving some library deps for it > But, I don't think that would get you very far in working > on a real SMM driver. Agreed! :) Laszlo ------------------------------------------------------------------------------ "Accelerate Dev Cycles with Automated Cross-Browser Testing - For FREE Instantly run your Selenium tests across 300+ browser/OS combos. Get unparalleled scalability from the best Selenium testing platform available. Simple to use. Nothing to install. Get started now for free." http://p.sf.net/sfu/SauceLabs _______________________________________________ edk2-devel mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/edk2-devel
