Hi Laszlo,
Thank you for replaying. I have problem with EFI_SMM_ACCESS2_PROTOCOL so I
cannot load PiSmmIpl.
I want to know whether my method is correct.
1) load <MdeModulePkg/Core/PiSmmCore/PiSmmIpl.inf> and <
MdeModulePkg/Core/PiSmmCore/PiSmmCore.inf> can load DXE_SMM_DRIVER?
2) anything else is need?
3) how to fake EFI_SMM_ACCESS2_PROTOCOL and EFI_SMM_CONTROL2_PROTOCOL in
emulator?

Thank you very much!


Yours sincerely,
WANG Siyuan


On Fri, Apr 25, 2014 at 7:05 PM, Laszlo Ersek <ler...@redhat.com> wrote:

> 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
> edk2-devel@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/edk2-devel
>
------------------------------------------------------------------------------
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
edk2-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/edk2-devel

Reply via email to