CPU: Update where the simple cpus read their cpu id from the thread context to init...
authorAli Saidi <saidi@eecs.umich.edu>
Sun, 16 Dec 2007 08:48:13 +0000 (03:48 -0500)
committerAli Saidi <saidi@eecs.umich.edu>
Sun, 16 Dec 2007 08:48:13 +0000 (03:48 -0500)
commit71909a50de2dd5154622c936179d97ec5220f872
treea563ba58ccf8596dc51aaf98c82ad6c6f71deec6
parentb7ea470a976febd1fad8509a3b6b912672ba4ca3
CPU: Update where the simple cpus read their cpu id from the thread context to init() to make sure they read the right value. This fixes a bug with multi-processor full-system configurations.

--HG--
extra : convert_revision : 4f2801967a271b43817d88e147c2f80c4480b2c3
src/cpu/simple/atomic.cc
src/cpu/simple/base.cc
src/cpu/simple/timing.cc