Hi, there. Sorry for my english. I was asking questions on Fw_Os_Forum, but was redirected here, as it turned my questions might be more relevant here than there. Hope so. My question is about ConnectController semantics. The specification says: "If Recursive is FALSE, then this function returns after all drivers have been connected to ControllerHandle. If Recursive is TRUE, then ConnectController() is called recursively on all of the child controllers of ControllerHandle. The child controllers can be identified by searching the handle database for all the controllers that have opened ControllerHandle with an attribute of EFI_OPEN_PROTOCOL_BY_CHILD_CONTROLLER"
So when I were seeking child controllers I should look for those who have open with BY_CHILD_CONTROLLER on ControllerHandle. But which protocol? All installed on ControllerHandle? EFI_DRIVER_BINDING_PROTOCOL? Next, I hope I understood right, but I'm not sure. Suppose ConnectController finds a driver in the highest precedence group, let it be the first - Context Override, it calls Supported() on that driver (handle) and it returns SUCCESS, and then it calls Start() and that returns SUCCESS. Should ConnectController stop trying all the rest candidates for ControllerHandle after that? Thanks. _______________________________________________ edk2-devel mailing list [email protected] https://lists.01.org/mailman/listinfo/edk2-devel

