Better hart startup indicators
This commit is contained in:
parent
ced7c79bd8
commit
e94eecd9a1
1 changed files with 2 additions and 1 deletions
|
@ -30,10 +30,11 @@ main()
|
|||
} else {
|
||||
while(started == 0) {}
|
||||
__sync_synchronize();
|
||||
printf("hart %d starting\n", cpuid());
|
||||
printf("Hart/Core [%d]: Starting\n", cpuid());
|
||||
kvminithart(); // turn on paging
|
||||
trapinithart(); // install kernel trap vector
|
||||
plicinithart(); // ask PLIC for device interrupts
|
||||
printf("Hart/Core [%d]: Online\n", cpuid());
|
||||
}
|
||||
|
||||
scheduler();
|
||||
|
|
Loading…
Reference in a new issue