On Apr 3, 2014, at 7:17 AM, Itay Sali <[email protected]> wrote: > Can you please point which command to use, I have image handle and I need > ControllerHandler. > My propose is using ControllerHandler to connect I2c protocol. > > This is driver entry point. > MyMain ( > IN EFI_HANDLE ImageHandle, > IN EFI_SYSTEM_TABLE *SystemTable > ) > > If I use a boot service ConnectController as described below; > gBS->ConnectController(ImageHandle, NULL, NULL, TRUE); > > how can I retrieve the ControllerHandler? >
What protocol does the I2c protocol driver depend on? The handle with that protocol would be the controller handle. Thanks, Andrew Fish > Thanks, Itay > > On Apr 2, 2014, at 6:07 AM, Itay Sali <[email protected]> wrote: > > > My driver inputs are ImageHandle and SystemTable, how can I invoked > ControllerHandler? > > > You can use the shell connect command to connect your driver (image handle) > to the controller handle. > > Thanks, > > Andrew Fish > > > Thanks, > > Itay > > ------------------------------------------------------------------------------ > _______________________________________________ > edk2-devel mailing list > [email protected] > https://lists.sourceforge.net/lists/listinfo/edk2-devel > > ------------------------------------------------------------------------------ > _______________________________________________ > edk2-devel mailing list > [email protected] > https://lists.sourceforge.net/lists/listinfo/edk2-devel
------------------------------------------------------------------------------
_______________________________________________ edk2-devel mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/edk2-devel
