summaryrefslogtreecommitdiff
path: root/src/cpu/o3/thread_context.hh
diff options
context:
space:
mode:
authorGabe Black <gblack@eecs.umich.edu>2011-10-16 02:59:53 -0700
committerGabe Black <gblack@eecs.umich.edu>2011-10-16 02:59:53 -0700
commite8e9f9731281e8c2ecb50a9aa318a65402cbee5c (patch)
tree4fd7bd419960066fad691d13e08f43dd5faaa729 /src/cpu/o3/thread_context.hh
parent85ca77d114f6c1bc3b90ce2faa02259aa6d825fe (diff)
downloadgem5-e8e9f9731281e8c2ecb50a9aa318a65402cbee5c.tar.xz
CPU: Make physPort and getPhysPort available in SE mode.
Diffstat (limited to 'src/cpu/o3/thread_context.hh')
-rwxr-xr-xsrc/cpu/o3/thread_context.hh5
1 files changed, 3 insertions, 2 deletions
diff --git a/src/cpu/o3/thread_context.hh b/src/cpu/o3/thread_context.hh
index 38c94439a..05b865569 100755
--- a/src/cpu/o3/thread_context.hh
+++ b/src/cpu/o3/thread_context.hh
@@ -97,8 +97,6 @@ class O3ThreadContext : public ThreadContext
virtual TheISA::Kernel::Statistics *getKernelStats()
{ return thread->kernelStats; }
- virtual FunctionalPort *getPhysPort() { return thread->getPhysPort(); }
-
virtual VirtualPort *getVirtPort();
virtual void connectMemPorts(ThreadContext *tc) { thread->connectMemPorts(tc); }
@@ -108,6 +106,9 @@ class O3ThreadContext : public ThreadContext
/** Returns a pointer to this thread's process. */
virtual Process *getProcessPtr() { return thread->getProcessPtr(); }
#endif
+
+ virtual FunctionalPort *getPhysPort() { return thread->getPhysPort(); }
+
/** Returns this thread's status. */
virtual Status status() const { return thread->status(); }