From: Andrew Fish [mailto:af...@apple.com]
Sent: Tuesday, July 14, 2015 2:49 PM
To: Laszlo Ersek
Cc: S.Vieira; edk2-devel@lists.sourceforge.net
Subject: Re: [edk2] upload two drivers


On Jul 14, 2015, at 2:21 PM, Laszlo Ersek 
<ler...@redhat.com<mailto:ler...@redhat.com>> wrote:

On 07/14/15 20:31, S.Vieira wrote:

Hi everyone.

It's possible to do upload of two drives just in ONE .efi

I am wanting to do upload of the AtaAtapiPassThruDxe and AtaBusDxe only in
ONE file.

I think it should be possible to install any number of driver binding
protocol instances in a single driver module, on the image handle.
However, you'd have to merge the two drivers into one in C source code,
and then build the resultant driver.


You could also convert one of the drivers to a NULL library (change the INF 
file), and add that new NULL library to the DSC statement for the other driver.

Conceptually the build system could support this behavior, since the library 
constructors and entry point functions are auto-gem’ed code, but it currently 
does not.

It might work if you made the constructor what was the “main” and the 
destructor what was the driver unload and still get without a c code change 
required.

You’d also have to make sure that there are no variable collisions in the 
resultant image.  They might use the same name now…

-Jaben

Thanks,

Andrew Fish


Laszlo






Thx
S.Vieira


------------------------------------------------------------------------------
Don't Limit Your Business. Reach for the Cloud.
GigeNET's Cloud Solutions provide you with the tools and support that
you need to offload your IT needs and focus on growing your business.
Configured For All Businesses. Start Your Cloud Today.
https://www.gigenetcloud.com/
_______________________________________________
edk2-devel mailing list
edk2-devel@lists.sourceforge.net<mailto:edk2-devel@lists.sourceforge.net>
https://lists.sourceforge.net/lists/listinfo/edk2-devel


------------------------------------------------------------------------------
Don't Limit Your Business. Reach for the Cloud.
GigeNET's Cloud Solutions provide you with the tools and support that
you need to offload your IT needs and focus on growing your business.
Configured For All Businesses. Start Your Cloud Today.
https://www.gigenetcloud.com/
_______________________________________________
edk2-devel mailing list
edk2-devel@lists.sourceforge.net<mailto:edk2-devel@lists.sourceforge.net>
https://lists.sourceforge.net/lists/listinfo/edk2-devel

------------------------------------------------------------------------------
Don't Limit Your Business. Reach for the Cloud.
GigeNET's Cloud Solutions provide you with the tools and support that
you need to offload your IT needs and focus on growing your business.
Configured For All Businesses. Start Your Cloud Today.
https://www.gigenetcloud.com/
_______________________________________________
edk2-devel mailing list
edk2-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/edk2-devel

Reply via email to