On 08/07/14 22:34, Chris Cuthbert wrote:
> Yes, I have the source code. If that is what you mean.

Is it based on edk2? If so, is it based on IntelFrameworkModulePkg/ (ie.
its Library/GenericBdsLib and Universal/BdsDxe)? Or maybe
ArmPlatformPkg/Bds/?

It's a somewhat backwards situation to make guesses at proprietary
source code... You should find the call path from your BDS code to
gBS->ConnectController(), and instrument that call chain with a bunch of
DEBUG()s. (Actually if you can find the call chain, you might even
notice simply thru eyeballing what's missing.)

The BdsLibConnectAll() function in IntelFrameworkModulePkg and the
BdsConnectAllDrivers() function in ArmPlatformPkg both fetch the full
set of handles ("AllHandles"), and pass each one of those to
gBS->ConnectController() with Recursive=TRUE. And this is wrapped in a
gDS->Dispatch() loop, because the presence of new drivers might make new
firmware volumes / driver binaries available for loading.

Your platform BDS code should do something similar (at least for
BOOT_WITH_FULL_CONFIGURATION, if it distinguishes boot modes).

Laszlo


------------------------------------------------------------------------------
Infragistics Professional
Build stunning WinForms apps today!
Reboot your WinForms applications with our WinForms controls. 
Build a bridge from your legacy apps to the future.
http://pubads.g.doubleclick.net/gampad/clk?id=153845071&iu=/4140/ostg.clktrk
_______________________________________________
edk2-devel mailing list
edk2-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/edk2-devel

Reply via email to