grub-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Question: How to force GRUB module dependency?


From: Alan Perry
Subject: Re: Question: How to force GRUB module dependency?
Date: Fri, 3 Jun 2016 06:02:31 -0700
User-agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10.11; rv:45.0) Gecko/20100101 Thunderbird/45.1.0

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.

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 <address@hidden <mailto:address@hidden>> 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





reply via email to

[Prev in Thread] Current Thread [Next in Thread]