KLD loading, liking

Dag-Erling Smørgrav des at des.no
Mon Nov 17 05:34:53 PST 2008


Alexej Sokolov <bsd.quest at 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
-- 
Dag-Erling Smørgrav - des at des.no


More information about the freebsd-hackers mailing list