Re: [edk2] SMM Drivers in EDKII

Subject: Re: [edk2] SMM Drivers in EDKII

From: "Brian J. Johnson" <bjohnson@sgi.com>

To: edk2-devel@lists.sourceforge.net

Date: 2014-03-26 17:13:39

On 03/26/2014 03:03 AM, Lethom Legrand wrote:
> Thank you for your answer!
>
> I was afraid it would be some thing like this.
>
> Easy to anticipate my next question, but I will ask anyway: how can I
> debug SMM code? I heard about DuetPkg, that is a full emulation of UEFI,
> so maybe it is a solution?

DuetPkg is an implementation of the UEFI boot interfaces on top of a 
legacy BIOS, so the legacy BIOS would handle all the SMM activity.  It 
probably wouldn't help you here.

> Otherwise, I think my last hope is hardware debuging through USB port 0?

Hardware debugging with an ITP can work, if you have the equipment.  And 
old-fashioned debug prints through a serial port or equivalent are 
always helpful.

Bochs seems to have some SMM code... I'm not sure how complete it is.
-- 

                                                 Brian

--------------------------------------------------------------------

    "If you want your dreams to come true:  Wake Up!"
                                            -- Jaime Roman's Radio

------------------------------------------------------------------------------
Learn Graph Databases - Download FREE O'Reilly Book
"Graph Databases" is the definitive new guide to graph databases and their
applications. Written by three acclaimed leaders in the field,
this first edition is now available. Download your free book today!
http://p.sf.net/sfu/13534_NeoTech
_______________________________________________
edk2-devel mailing list
edk2-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/edk2-devel