Garrett,

Currently, the EDKII build system does not support build a DXE/SMM combination 
driver, although the DXE Dispatcher and SMM Driver Dispatcher support loading 
such a driver image from FV.

There is an alternative way to work-around this issue. That is, have two INF 
files in the same directory, one is for DXE driver, the other is for SMM 
driver. The disadvantage is size impact (some common code is duplicated in two 
driver images).

From: Kirkendall, Garrett [mailto:[email protected]]
Sent: Wednesday, July 18, 2012 9:55 PM
To: [email protected]
Subject: [edk2] SMM Driver question in EDKII

Can the EDKII build tools support generating a combination DXE and SMM driver 
of type EFI_FV_FILETYPE_COMBINED_SMM_DXE  like the PI 1.2.1 specification 
suggests?

>From what I have found and seem to have confirmed with VolInfo.exe, the INF 
>file MODULE_TYPE = DXE_SMM_DRIVER creates a file of type EFI_FV_FILETYPE_SMM 
>and an EFI_SECTION_SMM_DEPEX.

If this is true, what are other developers doing when they have two pieces of 
code that are closely related that would have been developed as a single driver 
in EDK?  Two separate drivers?  Or am I missing something?

Thanks,

Garrett Kirkendall

------------------------------------------------------------------------------
Live Security Virtual Conference
Exclusive live event will cover all the ways today's security and 
threat landscape has changed and how IT managers can respond. Discussions 
will include endpoint security, mobile security and the latest in malware 
threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/
_______________________________________________
edk2-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/edk2-devel

Reply via email to