[SMP] Initialize APs

This commit is contained in:
2016-11-23 16:16:50 +01:00
parent 6a2bef5517
commit 8961ae33eb
5 changed files with 50 additions and 22 deletions

View File

@@ -45,6 +45,9 @@ void ap_init(cpu_t *cpu)
void ap_start()
{
debug_ok("STARTED CPU:%x\n", get_cpu()->id);
init_cpu();
while(!all_ap_started);
cpu_t *cpu = get_cpu();
debug_ok("STARTED CPU:%x\n", cpu->id);
for(;;)asm("hlt");
}