From 1d1054c88dba4ad340b709a536bbf7d166ea3ef9 Mon Sep 17 00:00:00 2001 From: davidc Date: Sat, 8 Dec 2001 04:20:54 +0000 Subject: 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 --- sys/kern/uipc_domain.c | 14 ++++++-------- 1 file 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 *)); -- cgit v1.1