Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 17 Nov 2008 14:34:51 +0100
From:      =?utf-8?Q?Dag-Erling_Sm=C3=B8rgrav?= <des@des.no>
To:        FreeBSD Hackers <freebsd-hackers@freebsd.org>
Subject:   Re: KLD loading, liking
Message-ID:  <868wri3284.fsf@ds4.des.no>
In-Reply-To: <20081117113522.GA2732@debian.samsung.router> (Alexej Sokolov's message of "Mon, 17 Nov 2008 12:35:22 %2B0100")
References:  <671bb5fc0811151927j6dcb5155oeffbf4cc95cbccb6@mail.gmail.com> <20081116100923.GU81783@hoeg.nl> <20081117113522.GA2732@debian.samsung.router>

next in thread | previous in thread | raw e-mail | index | archive | help
Alexej Sokolov <bsd.quest@googlemail.com> writes:
> Not only that. The use of the MODULE_DEPEND macro allows one module to
> access the variables of modules on which it depends.

No.  Any module X can access any public variable or function in the
kernel or in any other module Y, but loading X will fail if Y is not
already loaded.  The only effect of MODULE_DEPEND is to tell the loader
that Y must be loaded before X.

DES
--=20
Dag-Erling Sm=C3=B8rgrav - des@des.no



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?868wri3284.fsf>