Volodymyr,

 

EDK-II build system is capable of also building drivers written to the EDK-I 
standard.

This ability is called ECP. (http://tianocore.sourceforge.net/wiki/ECP )

 

The Macros you mention in your email would be used in an EDK-I driver.

EDK-II uses different methods including the .dec and new format .inf files to 
declare protocols.

 

--Jeff Bobzin

Insyde Software

 

From: Volodymyr Sharovar [mailto:volodymyrsharo...@gmail.com] 
Sent: Wednesday, July 2, 2014 1:35 PM
To: edk2-devel@lists.sourceforge.net
Subject: [edk2] Using EFI_PROTOCOL_DEFINITION, EFI_PROTOCOL_CONSUMER and 
EFI_PROTOCOL_PRODUCER

 

Hello,

I have stumbled upon EFI_PROTOCOL_DEFINITION when I was going through UDK 
protocols. I have always just included the protocols I was using in the header 
file as 

    #include <path/to/Protocol.h>

and then if my driver would produce it or consume it I would do the same thing 
they do in "EDKII Module Writer's Guide" Section 8.4.1. My question is where 
and when would I use these macros? Also what would be the benefit of using them 
over the method stated in Module Writer's Guide?

Thank you,

Volodymyr Sharovar

------------------------------------------------------------------------------
Open source business process management suite built on Java and Eclipse
Turn processes into business applications with Bonita BPM Community Edition
Quickly connect people, data, and systems into organized workflows
Winner of BOSSIE, CODIE, OW2 and Gartner awards
http://p.sf.net/sfu/Bonitasoft
_______________________________________________
edk2-devel mailing list
edk2-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/edk2-devel

Reply via email to