Hi all, I am experiencing some strange behavior regarding network configuration that I'd like to ask if its due some mistake I am doing or something else.
First, let me give a little explanation about my scenario: I have an command line application that links against a third-party network library (ported to UEFI and depends on LibC and BsdSocketLib) and also to consumes a driver written by me. This driver performs network operations using UDP and to do that Efi/EfiSocketLib.h (EslServiceGetProtocol() and EslServiceFreeProtocol()) and Protocol/EfiSocket.h (pfnSocket(), pfnTransmit(), pfnReceive()) from StdLib/Include are used. Also, a test application was written to make sure it works well; and it does. On the driver entry point only register itself using gBS->InstallMultipleProtocolInterfaces(), and the socket protocol is instantiated and freed at run time when some application calls its functions. The main application have been working fine with the library before the mentioned driver was created. So, here is where the strange behavior I've been experiencing: When the driver is loaded and the application is ran for the first time (from shell and the network interface is configured using ifconfig), even before it makes any call to the driver, every network operation returns 'not ready'. After failing the first execution, the second and subsequents succeeds. If the driver isn't loaded, the application runs fine (failing only the call to the driver, of course) for the first time. So, I am guessing there is some kind of conflict that I couldn't figure out and would like to get some ideas from the experts on the list. If you need more details to better understand the scenario, feel free to ask. Thank you in advance, Mauro ------------------------------------------------------------------------------ CenturyLink Cloud: The Leader in Enterprise Cloud Services. Learn Why More Businesses Are Choosing CenturyLink Cloud For Critical Workloads, Development Environments & Everything In Between. Get a Quote or Start a Free Trial Today. http://pubads.g.doubleclick.net/gampad/clk?id=119420431&iu=/4140/ostg.clktrk _______________________________________________ edk2-devel mailing list edk2-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/edk2-devel