MirOS Manual: dostartuphooks(9)

DOSTARTUPHOOKS(9)             BSD Kernel Manual              DOSTARTUPHOOKS(9)

NAME

     dostartuphooks - run all startup hooks

SYNOPSIS

     #include <sys/types.h>
     #include <sys/systm.h>

     void
     dostartuphooks(void);

DESCRIPTION

     The dostartuphooks() function invokes all startup hooks established using
     the startuphook_establish(9) function. Startup hooks are called in order,
     i.e., the startup hook established first will be called first.

     This function is called from main() with interrupts turned on. It is
     called immediately before the system configures its root and swap dev-
     ices, but fully after all normal autoconfiguration. This can be used to
     let device subsystems needing delayed configuration (e.g., due to very
     long initialization times) still provide the root device. The I2O system,
     implemented by the iop(4) and ioprbs(4) drivers, is a good example.

     Startup hooks are, like shutdown hooks, implemented via the more general
     dohooks(9) API.

SEE ALSO

     iop(4), ioprbs(4), dohooks(9), doshutdownhooks(9),
     startuphook_establish(9)

MirOS BSD #10-current           July 27, 2001                                1

Generated on 2014-07-04 21:17:45 by $MirOS: src/scripts/roff2htm,v 1.79 2014/02/10 00:36:11 tg Exp $

These manual pages and other documentation are copyrighted by their respective writers; their source is available at our CVSweb, AnonCVS, and other mirrors. The rest is Copyright © 2002‒2014 The MirOS Project, Germany.
This product includes material provided by Thorsten Glaser.

This manual page’s HTML representation is supposed to be valid XHTML/1.1; if not, please send a bug report – diffs preferred.