On 01/24/19 14:25, Tomas Pilar (tpilar) wrote: > Hmm, > > Mnp->Configure() will eventually call MnpStartSnp(). > > A grep for Mnp->Configure shows that: > * ArpDxe performs this on DriverBinding.Start() > * Ip6Dxe performs this on DriverBinding.Start() > > Ipv4 and DnsDhcp do this as a part of their Configure() they expose in the > API.
Yes, that makes sense. All of the above drivers are UEFI drivers that follow the UEFI driver model, AIUI. As long as the controller is not connected from BDS, no BindingStart() function should be called in these. E.g. EFI_DNS4_PROTOCOL.Configure() can only be called if an instance of that protocol exists (... for the NIC in question), but the protocol instance won't exist unless BDS (or some other agent such as the shell or the boot menu app) called ConnectController(). Thanks, Laszlo _______________________________________________ edk2-devel mailing list edk2-devel@lists.01.org https://lists.01.org/mailman/listinfo/edk2-devel