Slightly nicer boot print.
This commit is contained in:
parent
6c55193a58
commit
0eaa519f23
@ -434,7 +434,11 @@ thread_start_cpus(void)
|
|||||||
P(cpu_startup_sem);
|
P(cpu_startup_sem);
|
||||||
}
|
}
|
||||||
sem_destroy(cpu_startup_sem);
|
sem_destroy(cpu_startup_sem);
|
||||||
kprintf("%d cpus online\n", i + 1);
|
if (i == 0) {
|
||||||
|
kprintf("1 CPU online\n");
|
||||||
|
} else {
|
||||||
|
kprintf("%d CPUs online\n", i + 1);
|
||||||
|
}
|
||||||
cpu_startup_sem = NULL;
|
cpu_startup_sem = NULL;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user