ap_init(): clean up AP boot kernel messages
This commit is contained in:
@ -415,7 +415,7 @@ void init_pat(void)
|
|||||||
boot_pat_state = rdmsr(MSR_IA32_CR_PAT);
|
boot_pat_state = rdmsr(MSR_IA32_CR_PAT);
|
||||||
|
|
||||||
wrmsr(MSR_IA32_CR_PAT, pat);
|
wrmsr(MSR_IA32_CR_PAT, pat);
|
||||||
kprintf("PAT support detected and reconfigured.\n");
|
dkprintf("PAT support detected and reconfigured.\n");
|
||||||
}
|
}
|
||||||
|
|
||||||
void init_lapic(void)
|
void init_lapic(void)
|
||||||
|
|||||||
@ -74,18 +74,17 @@ void ap_init(void)
|
|||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
|
|
||||||
kprintf("BSP HW ID = %d, ", bsp_hw_id);
|
kprintf("BSP HW ID = %d\n", bsp_hw_id);
|
||||||
kprintf("AP Booting :");
|
|
||||||
|
|
||||||
for (i = 0; i < cpu_info->ncpus; i++) {
|
for (i = 0; i < cpu_info->ncpus; i++) {
|
||||||
if (cpu_info->hw_ids[i] == bsp_hw_id) {
|
if (cpu_info->hw_ids[i] == bsp_hw_id) {
|
||||||
continue;
|
continue;
|
||||||
}
|
}
|
||||||
|
kprintf("AP Booting: %d (HW ID: %d)\n", i, cpu_info->hw_ids[i]);
|
||||||
ihk_mc_boot_cpu(cpu_info->hw_ids[i], (unsigned long)ap_wait);
|
ihk_mc_boot_cpu(cpu_info->hw_ids[i], (unsigned long)ap_wait);
|
||||||
kprintf(" %d", cpu_info->hw_ids[i]);
|
|
||||||
|
|
||||||
num_processors++;
|
num_processors++;
|
||||||
}
|
}
|
||||||
kprintf(" .. Done\n");
|
kprintf("AP Booting: Done\n");
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user