summaryrefslogtreecommitdiff
path: root/src/cpu/thread_context.hh
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/thread_context.hh
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/thread_context.hh')
-rw-r--r--src/cpu/thread_context.hh4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/cpu/thread_context.hh b/src/cpu/thread_context.hh
index cf51c1637..b25a67d59 100644
--- a/src/cpu/thread_context.hh
+++ b/src/cpu/thread_context.hh
@@ -134,7 +134,7 @@ class ThreadContext
virtual void delVirtPort(VirtualPort *vp) = 0;
- virtual void connectMemPorts() = 0;
+ virtual void connectMemPorts(ThreadContext *tc) = 0;
#else
virtual TranslatingPort *getMemPort() = 0;
@@ -325,7 +325,7 @@ class ProxyThreadContext : public ThreadContext
void delVirtPort(VirtualPort *vp) { return actualTC->delVirtPort(vp); }
- void connectMemPorts() { actualTC->connectMemPorts(); }
+ void connectMemPorts(ThreadContext *tc) { actualTC->connectMemPorts(tc); }
#else
TranslatingPort *getMemPort() { return actualTC->getMemPort(); }