Le Fri, Jun 3, 2016 à 3:03 PM, Alan Perry <[email protected]> a écrit :

> I think that I recognize this issue. There is a direct call into a
> driver to get the device handle. If you want to substitute that driver,
> then the substitute driver needs to have that same global function.
>
> There should be a better way to get that device handle than calling
> directly into the driver.
>
Please provide more details. Device handle is something opaque on purpose
and is only exposed in very limited manner. Which function do you have in
mind?

>
> alan
>
> On 6/2/16 12:17 PM, Vladimir 'phcoder' Serbinenko wrote:
> >
> > No. And you shouldn't have the 2 different global functions named. Why
> > can't you just rename one of the functions?
> >
> >
> > Le jeu. 2 juin 2016 21:16, Mat Troi <[email protected]
> > <mailto:[email protected]>> a écrit :
> >
> >     Hi,
> >
> >     If there are two modules that have the same function names.  Is
> >     there a way to force a 3rd module to pick up the right dependency?
> >
> >     For example:
> >     Mod A and mod B both contain function_foo
> >
> >     Mod C uses function_foo.
> >
> >     Right now, mod C is using function_foo in mod B, is there a way I
> >     can force mod C to use function_foo in mod A?
> >
> >     Thanks,
> >     Mat Troi
> >
>
>
> _______________________________________________
> Grub-devel mailing list
> [email protected]
> https://lists.gnu.org/mailman/listinfo/grub-devel
>
_______________________________________________
Grub-devel mailing list
[email protected]
https://lists.gnu.org/mailman/listinfo/grub-devel

Reply via email to