Next Village of Kernel Land

#1 Initialization of Teams

TRACE("init teams\n");
team_init(&sKernelArgs);

#2 Initialization of ELF Loader

TRACE("init ELF loader\n");
elf_init(&sKernelArgs);

#3 Initialization of Modules

TRACE("init modules\n");
module_init(&sKernelArgs);

#4 Initialization of Semaphores

TRACE("init semaphores\n");
haiku_sem_init(&sKernelArgs);

#5 Initialization of Interrupts Post Virtual Memory Setup

TRACE("init interrupts post vm\n");
int_init_post_vm(&sKernelArgs);
cpu_init_post_vm(&sKernelArgs);

#6 Initialization of Commpage

commpage_init();
#ifdef _COMPAT_MODE
commpage_compat_init();
#endif

#7 Synchronize the execution of  function on all CPUs

call_all_cpus_sync(non_boot_cpu_init, &sKernelArgs);

#8 Initialize System Information

TRACE("init system info\n");
system_info_init(&sKernelArgs);

#9 Initialization for Symmetric Multiprocessing (SMP) support

TRACE("init SMP\n");
smp_init(&sKernelArgs);
cpu_build_topology_tree();

#10 Initialization for System Timers

TRACE("init timer\n");
		timer_init(&sKernelArgs);