summaryrefslogtreecommitdiffstats
path: root/sys
diff options
context:
space:
mode:
authordavidc <davidc@FreeBSD.org>2001-12-08 04:20:54 +0000
committerdavidc <davidc@FreeBSD.org>2001-12-08 04:20:54 +0000
commit1d1054c88dba4ad340b709a536bbf7d166ea3ef9 (patch)
treed14674b0c4fb93c4d3432ffaada76fa9c2ceee3d /sys
parent2c5c5d5abea0d8300b77154cd6fc298f0dcd34fe (diff)
downloadFreeBSD-src-1d1054c88dba4ad340b709a536bbf7d166ea3ef9.zip
FreeBSD-src-1d1054c88dba4ad340b709a536bbf7d166ea3ef9.tar.gz
Update the comment about System initialization to reflect the use of
DOMAIN_SET(9) instead of SYSINIT for adding domains at startup. Reviewed by: alfred
Diffstat (limited to 'sys')
-rw-r--r--sys/kern/uipc_domain.c14
1 files changed, 6 insertions, 8 deletions
diff --git a/sys/kern/uipc_domain.c b/sys/kern/uipc_domain.c
index 6223bad..f29e227 100644
--- a/sys/kern/uipc_domain.c
+++ b/sys/kern/uipc_domain.c
@@ -47,15 +47,13 @@
/*
* System initialization
*
- * Note: domain initialization wants to take place on a per domain basis
- * as a result of traversing a linker set. Most likely, each domain
- * want to call a registration function rather than being handled here
- * in domaininit(). Probably this will look like:
+ * Note: domain initialization takes place on a per domain basis
+ * as a result of traversing a SYSINIT linker set. Most likely,
+ * each domain would want to call DOMAIN_SET(9) itself, which
+ * would cause the domain to be added just after domaininit()
+ * is called during startup.
*
- * SYSINIT(unique, SI_SUB_PROTO_DOMAIN, SI_ORDER_ANY, domain_add, xxx)
- *
- * Where 'xxx' is replaced by the address of a parameter struct to be
- * passed to the doamin_add() function.
+ * See DOMAIN_SET(9) for details on its use.
*/
static void domaininit __P((void *));
OpenPOWER on IntegriCloud