[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.517.2.1 and 1.517.2.2

version 1.517.2.1, 2020/01/17 21:47:35 version 1.517.2.2, 2020/02/29 20:21:02
Line 290  main(void)
Line 290  main(void)
 #ifndef LWP0_CPU_INFO  #ifndef LWP0_CPU_INFO
         l->l_cpu = curcpu();          l->l_cpu = curcpu();
 #endif  #endif
         l->l_flag |= LW_RUNNING;          l->l_pflag |= LP_RUNNING;
   
         /*          /*
          * Attempt to find console and initialize           * Attempt to find console and initialize
Line 329  main(void)
Line 329  main(void)
         mutex_obj_init();          mutex_obj_init();
         rw_obj_init();          rw_obj_init();
   
           /* Initialize radix trees (used by numerous subsystems). */
           radix_tree_init();
   
         /* Passive serialization. */          /* Passive serialization. */
         pserialize_init();          pserialize_init();
   
Line 463  main(void)
Line 466  main(void)
         /* Second part of module system initialization. */          /* Second part of module system initialization. */
         module_start_unload_thread();          module_start_unload_thread();
   
           /* Initialize autoconf data structures before any modules are loaded */
           config_init_mi();
   
         /* Initialize the file systems. */          /* Initialize the file systems. */
 #ifdef NVNODE_IMPLICIT  #ifdef NVNODE_IMPLICIT
         /*          /*
Line 480  main(void)
Line 486  main(void)
         /* Initialize fstrans. */          /* Initialize fstrans. */
         fstrans_init();          fstrans_init();
   
         radix_tree_init(); /* used for page cache */  
         vfsinit();          vfsinit();
         lf_init();          lf_init();
   
Line 718  main(void)
Line 723  main(void)
             NULL, NULL, "ioflush"))              NULL, NULL, "ioflush"))
                 panic("fork syncer");                  panic("fork syncer");
   
         /* Create the aiodone daemon kernel thread. */  
         if (workqueue_create(&uvm.aiodone_queue, "aiodoned",  
             uvm_aiodone_worker, NULL, PRI_VM, IPL_NONE, WQ_MPSAFE))  
                 panic("fork aiodoned");  
   
         /* Wait for final configure threads to complete. */          /* Wait for final configure threads to complete. */
         config_finalize_mountroot();          config_finalize_mountroot();
   
Line 746  static void
Line 746  static void
 configure(void)  configure(void)
 {  {
   
         /* Initialize autoconf data structures. */  
         config_init_mi();  
         /*          /*
          * XXX           * XXX
          * callout_setfunc() requires mutex(9) so it can't be in config_init()           * callout_setfunc() requires mutex(9) so it can't be in config_init()

Legend:
Removed from v.1.517.2.1  
changed lines
  Added in v.1.517.2.2

CVSweb <webmaster@jp.NetBSD.org>