Kernel keeps information about each cpu

- kernel maintains a cpu_info array which contains various
  information about each cpu as filled when each cpu boots

- the information contains idetification, features etc.
This commit is contained in:
Tomas Hruby
2010-10-26 21:07:27 +00:00
parent 9e01a83636
commit c9bfb13cdb
9 changed files with 33 additions and 23 deletions

View File

@@ -40,6 +40,8 @@ PUBLIC void bsp_finish_booting(void)
#endif /* SPROFILE */
cprof_procs_no = 0; /* init nr of hash table slots used */
cpu_identify();
vm_running = 0;
krandom.random_sources = RANDOM_SOURCES;
krandom.random_elements = RANDOM_ELEMENTS;