On 04/25/14 12:42, WANG Siyuan wrote: > Hi, > I want to load load DXE_SMM_DRIVER in Duet. > > As far as now, DXE driver can be loaded, but DXE_SMM_DRIVER cannot be > loaded. > > > > I want to do it this way: > > Add *MdeModulePkg/Core/PiSmmCore/PiSmmIpl.inf*and > *MdeModulePkg/Core/PiSmmCore/PiSmmCore.inf* to my .dsc file. > > *PiSmmIpl*can load *PiSmmCore*, *PiSmmCore* registers > *SmmDriverDispatchHandler*, *SmmDriverDispatchHandler* dispatch > DXE_SMM_DRIVER drivers. > > Does this correct?
In order for the SMM core to start up, you must provide two protocols (in one, or two separate, DXE_RUNTIME_DRIVER(s)) that allow the SMM core to access SMRAM and to actually (think to) get into system management mode. See EFI_SMM_ACCESS2_PROTOCOL and EFI_SMM_CONTROL2_PROTOCOL in the PI spec. For emulation (development/testing) purposes, you can fake these protocols easily, but without real hw support they won't be secure. Laszlo ------------------------------------------------------------------------------ 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
