ap_init(): clean up AP boot kernel messages

This commit is contained in:
Balazs Gerofi
2015-08-07 08:54:01 +09:00
parent 0a0e2c04a0
commit 215cd370a1
2 changed files with 4 additions and 5 deletions

View File

@ -415,7 +415,7 @@ void init_pat(void)
boot_pat_state = rdmsr(MSR_IA32_CR_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)

View File

@ -74,18 +74,17 @@ void ap_init(void)
return;
}
kprintf("BSP HW ID = %d, ", bsp_hw_id);
kprintf("AP Booting :");
kprintf("BSP HW ID = %d\n", bsp_hw_id);
for (i = 0; i < cpu_info->ncpus; i++) {
if (cpu_info->hw_ids[i] == bsp_hw_id) {
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);
kprintf(" %d", cpu_info->hw_ids[i]);
num_processors++;
}
kprintf(" .. Done\n");
kprintf("AP Booting: Done\n");
}