Query: module_depend
OS: debian
Section: 9
Format: Original Unix Latex Style Formatted with HTML and a Horizontal Scroll Bar
MODULE_DEPEND(9) BSD Kernel Developer's Manual MODULE_DEPEND(9)NAMEMODULE_DEPEND -- set kernel module dependenciesSYNOPSIS#include <sys/param.h> #include <sys/module.h> MODULE_DEPEND(name, moddepend, int minversion, int prefversion, int maxversion);DESCRIPTIONThe MODULE_DEPEND() macro sets a dependency on another kernel module with name moddepend, which has registered its version with MODULE_VERSION(). The MODULE_DEPEND() macro provides hints to the kernel loader(8) and to the kernel linker to ensure that the named dependency is loaded prior to the existing module. It does not change or dictate the order in which modules are initialized at runtime. Three versions must be specified for moddepend: minversion The minimum version on which the current module can depend. maxversion The maximum version on which the current module can depend. prefversion The preferred version on which the current module can depend.EXAMPLESMODULE_DEPEND(foo, bar, 1, 3, 4);SEE ALSODECLARE_MODULE(9), module(9), MODULE_VERSION(9)AUTHORSThis manual page was written by Alexander Langer <alex@FreeBSD.org>.BSDJanuary 11, 2005 BSD
Related Man Pages |
---|
declare_module(9) - debian |
dev_module(9) - debian |
module(9) - freebsd |
module_depend(9) - freebsd |
syscall_module(9) - freebsd |
Similar Topics in the Unix Linux Community |
---|
Olédrion: version 1.62 |
Kernel module compilation problem |
hello world kermel module |
insmod: Invalid module format error |