FreeBSD/sys/arm64/arm64/mp_machdep.c
/* Initialize and fire up non-boot processors */
Initialize and fire up non-boot processors
Initialize and fire up non - boot processors
void
cpu_mp_start(void)
{
	mtx_init(&ap_boot_mtx, "ap boot", NULL, MTX_SPIN);
	CPU_SET(0, &all_cpus);
	switch(cpu_enum_method) {
#ifdef FDT
	case CPUS_FDT:
		KASSERT(cpu0 >= 0, ("Current CPU was not found"));
		ofw_cpu_early_foreach(cpu_init_fdt, true);
		break;
#endif
	case CPUS_UNKNOWN:
		break;
	}
}
void cpu_mp_start ( void ) { mtx_init ( & ap_boot_mtx , " " , NULL , MTX_SPIN ) ; CPU_SET ( 0 , & all_cpus ) ; switch ( cpu_enum_method ) { #ifdef FDT case CPUS_FDT : KASSERT ( cpu0 >= 0 , ( " " ) ) ; ofw_cpu_early_foreach ( cpu_init_fdt , true ) ; break ; #endif case CPUS_UNKNOWN : break ; } }
Initialize and fire up non-boot processors
Initialize and fire up non - boot processors