Date: Fri, 9 Oct 1998 16:42:48 -0700 (PDT) From: Peter Wemm <peter@FreeBSD.ORG> To: cvs-committers@FreeBSD.ORG, cvs-all@FreeBSD.ORG Subject: cvs commit: src/sys/kern init_main.c Message-ID: <199810092342.QAA07232@freefall.freebsd.org>
next in thread | raw e-mail | index | archive | help
peter 1998/10/09 16:42:48 PDT Modified files: sys/kern init_main.c Log: Implement merging SYSINIT's from preloaded KLD modules. This means we check off SYSINIT entries as they are run, and when more arrive, we re-sort and restart (skipping the already-run entries). This can *only* be done after KMEM (and malloc) is up and running - this is fine because KLD is the only consumer of this and it's done after that. The nice thing about this is that the SYSINIT's within preloaded KLD modules are executed in their natural order. It should be possible to register devices for the probes which follow, etc. (soon.. several key things prevent this, such as use of linker sets for things like pci devices). Revision Changes Path 1.98 +68 -12 src/sys/kern/init_main.c
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?199810092342.QAA07232>