> On May 10, 2015, at 4:20 PM, Andreas Galauner <[email protected]> wrote: > > On 10.05.2015 15:32, Cohen, Eugene wrote: >> I apologize since this was probably not the answer you were looking for. > > No worries, it's kind of what I expected. Hence the question about the > virtual bus. > What I didn't understand was the Driver Binding protocol just by looking > at the source. I guess I should've looked a bit more into the specification. >
The BDS does a gBS->ConnectController() on the device path for the boot devices. This causes all the drivers in the chain for the device to get their Driver Binding Start() function called. So the driver gets called on a handle created by a parent bus driver. The root of the device path chain is always a DXE driver (on a PI system), and on a PCI this is the PCI Host Bridge. Thus for a PCI driver it looks to match PCI device type, in driver binding supported. And if supported passes, then the Start() will get called. Thanks, Andrew Fish > >> Let me know if you're interested in taking this on. > > Puh, I'm pretty now to UEFI and have to understand the internals a bit > more. I think I'll just finish my current port for now and slowly dig > deeper into UEFI. Maybe I'll take this challenge after that. > This whole thing was intended to be a 1-to-2-weekends-pet-project in the > beginning. But thanks for the offer! > > Thanks, > - Andy > > ------------------------------------------------------------------------------ > One dashboard for servers and applications across Physical-Virtual-Cloud > Widest out-of-the-box monitoring support with 50+ applications > Performance metrics, stats and reports that give you Actionable Insights > Deep dive visibility with transaction tracing using APM Insight. > http://ad.doubleclick.net/ddm/clk/290420510;117567292;y > _______________________________________________ > edk2-devel mailing list > [email protected] > https://lists.sourceforge.net/lists/listinfo/edk2-devel ------------------------------------------------------------------------------ One dashboard for servers and applications across Physical-Virtual-Cloud Widest out-of-the-box monitoring support with 50+ applications Performance metrics, stats and reports that give you Actionable Insights Deep dive visibility with transaction tracing using APM Insight. http://ad.doubleclick.net/ddm/clk/290420510;117567292;y _______________________________________________ edk2-devel mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/edk2-devel
