SMP - CPU local idle stub

- each CPU has its own pseudo idle process and its structure

- idle cycles accounting is agregated when exporting to userspace
This commit is contained in:
Tomas Hruby
2010-09-15 14:10:21 +00:00
parent fac5fbfdbf
commit 865e21b884
4 changed files with 65 additions and 4 deletions

View File

@@ -223,7 +223,6 @@ PRIVATE void ap_finish_booting(void)
ap_boot_finished(cpu);
spinlock_unlock(&boot_lock);
for(;;);
/* finish processor initialisation. */
lapic_enable(cpu);