summaryrefslogtreecommitdiffstats
path: root/share/man/man9/MODULE_DEPEND.9
diff options
context:
space:
mode:
authorsimon <simon@FreeBSD.org>2005-01-11 20:56:03 +0000
committersimon <simon@FreeBSD.org>2005-01-11 20:56:03 +0000
commit1084f4d9acc40e3b063d430ba448892e9c3ddea3 (patch)
tree8a4d1dbc94c0cc18b9cca295c961da4dbb9679a5 /share/man/man9/MODULE_DEPEND.9
parent5384a04b6a249d3ae726868a4550a1ffb2d071a1 (diff)
downloadFreeBSD-src-1084f4d9acc40e3b063d430ba448892e9c3ddea3.zip
FreeBSD-src-1084f4d9acc40e3b063d430ba448892e9c3ddea3.tar.gz
Document that MODULE_DEPEND does not change runtime initialization
order. Mostly submitted by: scottl Discussed on: cvs-src/src-committers
Diffstat (limited to 'share/man/man9/MODULE_DEPEND.9')
-rw-r--r--share/man/man9/MODULE_DEPEND.911
1 files changed, 10 insertions, 1 deletions
diff --git a/share/man/man9/MODULE_DEPEND.9 b/share/man/man9/MODULE_DEPEND.9
index 753c653..c0a8fdd 100644
--- a/share/man/man9/MODULE_DEPEND.9
+++ b/share/man/man9/MODULE_DEPEND.9
@@ -28,7 +28,7 @@
.\"
.\" $FreeBSD$
.\"
-.Dd January 7, 2005
+.Dd January 11, 2005
.Dt MODULE_DEPEND 9
.Os
.Sh NAME
@@ -47,6 +47,15 @@ which has registered
its version with
.Fn MODULE_VERSION .
.Pp
+The
+.Fn MODULE_DEPEND
+macro provides hints to the kernel
+.Xr 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.
+.Pp
Three versions must be specified for
.Fa moddepend :
.Bl -tag -width ".Fa prefversion"
OpenPOWER on IntegriCloud