summaryrefslogtreecommitdiff
path: root/src/cpu/simple/base.cc
diff options
context:
space:
mode:
authorAli Saidi <saidi@eecs.umich.edu>2007-12-16 03:48:13 -0500
committerAli Saidi <saidi@eecs.umich.edu>2007-12-16 03:48:13 -0500
commit71909a50de2dd5154622c936179d97ec5220f872 (patch)
treea563ba58ccf8596dc51aaf98c82ad6c6f71deec6 /src/cpu/simple/base.cc
parentb7ea470a976febd1fad8509a3b6b912672ba4ca3 (diff)
downloadgem5-71909a50de2dd5154622c936179d97ec5220f872.tar.xz
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
Diffstat (limited to 'src/cpu/simple/base.cc')
-rw-r--r--src/cpu/simple/base.cc1
1 files changed, 0 insertions, 1 deletions
diff --git a/src/cpu/simple/base.cc b/src/cpu/simple/base.cc
index ad7b14be3..367f38b89 100644
--- a/src/cpu/simple/base.cc
+++ b/src/cpu/simple/base.cc
@@ -91,7 +91,6 @@ BaseSimpleCPU::BaseSimpleCPU(Params *p)
threadContexts.push_back(tc);
- cpuId = tc->readCpuId();
fetchOffset = 0;
stayAtPC = false;