Better hart startup indicators

This commit is contained in:
Imbus 2025-01-11 14:49:38 +01:00
parent ced7c79bd8
commit e94eecd9a1

View file

@ -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();