mirror of
https://github.com/opnsense/src.git
synced 2026-05-28 04:12:45 -04:00
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:
parent
9264a4f3f4
commit
995a2227c5
1 changed files with 6 additions and 8 deletions
|
|
@ -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 *));
|
||||
|
|
|
|||
Loading…
Reference in a new issue