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
This commit is contained in:
Chad David 2001-12-08 04:20:54 +00:00
parent 9264a4f3f4
commit 995a2227c5
Notes: svn2git 2020-12-20 02:59:44 +00:00
svn path=/head/; revision=87520

View File

@ -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 *));