summaryrefslogtreecommitdiff
path: root/src/cpu/o3/cpu.cc
diff options
context:
space:
mode:
authorAli Saidi <saidi@eecs.umich.edu>2008-07-01 10:24:16 -0400
committerAli Saidi <saidi@eecs.umich.edu>2008-07-01 10:24:16 -0400
commit50e3e50e1ac592b357a47eecdc3c99a528172870 (patch)
tree1ee6c72dc10691ac920e793646e38c73049f3a8f /src/cpu/o3/cpu.cc
parent9bd0bfe559d8c9633c5686ccf100ab921eb6eda2 (diff)
downloadgem5-50e3e50e1ac592b357a47eecdc3c99a528172870.tar.xz
Make the cached virtPort have a thread context so it can do everything that a newly created one can.
Diffstat (limited to 'src/cpu/o3/cpu.cc')
-rw-r--r--src/cpu/o3/cpu.cc2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/cpu/o3/cpu.cc b/src/cpu/o3/cpu.cc
index c75a08213..fac214174 100644
--- a/src/cpu/o3/cpu.cc
+++ b/src/cpu/o3/cpu.cc
@@ -788,7 +788,7 @@ FullO3CPU<Impl>::updateMemPorts()
// Update all ThreadContext's memory ports (Functional/Virtual
// Ports)
for (int i = 0; i < thread.size(); ++i)
- thread[i]->connectMemPorts();
+ thread[i]->connectMemPorts(thread[i]->getTC());
}
#endif