[BACK]Return to init_main.c CVS log [TXT][DIR] Up to [cvs.NetBSD.org] / src / sys / kern

Please note that diffs are not public domain; they are subject to the copyright notices on the relevant files.

Diff for /src/sys/kern/init_main.c between version 1.337 and 1.338

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>
Line 273  main(void)
Line 275  main(void)
   
         kmem_init();          kmem_init();
   
           percpu_init();
   
         /* Initialize the extent manager. */          /* Initialize the extent manager. */
         extent_init();          extent_init();
   
Line 296  main(void)
Line 300  main(void)
         /* 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();
   
Line 345  main(void)
Line 343  main(void)
         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();
   

Legend:
Removed from v.1.337  
changed lines
  Added in v.1.338

CVSweb <webmaster@jp.NetBSD.org>