version 1.337, 2008/01/12 23:31:40 |
version 1.338, 2008/01/14 12:40:03 |
Line 115 __KERNEL_RCSID(0, "$NetBSD$"); |
|
Line 115 __KERNEL_RCSID(0, "$NetBSD$"); |
|
#include <sys/exec.h> |
#include <sys/exec.h> |
#include <sys/socketvar.h> |
#include <sys/socketvar.h> |
#include <sys/protosw.h> |
#include <sys/protosw.h> |
|
#include <sys/percpu.h> |
|
#include <sys/sysctl.h> |
#include <sys/reboot.h> |
#include <sys/reboot.h> |
#include <sys/user.h> |
#include <sys/user.h> |
#include <sys/sysctl.h> |
#include <sys/sysctl.h> |
|
|
|
|
kmem_init(); |
kmem_init(); |
|
|
|
percpu_init(); |
|
|
/* Initialize the extent manager. */ |
/* Initialize the extent manager. */ |
extent_init(); |
extent_init(); |
|
|
|
|
/* Initialize the buffer cache */ |
/* Initialize the buffer cache */ |
bufinit(); |
bufinit(); |
|
|
/* |
|
* Initialize mbuf's. Do this now because we might attempt to |
|
* allocate mbufs or mbuf clusters during autoconfiguration. |
|
*/ |
|
mbinit(); |
|
|
|
/* Initialize sockets. */ |
/* Initialize sockets. */ |
soinit(); |
soinit(); |
|
|
|
|
error = mi_cpu_attach(curcpu()); |
error = mi_cpu_attach(curcpu()); |
KASSERT(error == 0); |
KASSERT(error == 0); |
|
|
|
/* |
|
* Initialize mbuf's. Do this now because we might attempt to |
|
* allocate mbufs or mbuf clusters during autoconfiguration. |
|
*/ |
|
mbinit(); |
|
|
/* Initialize the sysctl subsystem. */ |
/* Initialize the sysctl subsystem. */ |
sysctl_init(); |
sysctl_init(); |
|
|