summaryrefslogtreecommitdiff
path: root/src/cpu/o3/thread_context.hh
diff options
context:
space:
mode:
authorGabe Black <gblack@eecs.umich.edu>2011-10-16 05:06:39 -0700
committerGabe Black <gblack@eecs.umich.edu>2011-10-16 05:06:39 -0700
commit3595b0c5a1a3e398a7efae932cd4175cd1ca3f0e (patch)
tree651320e1a0c7fab8755bab36ba8f49980c1e1e4c /src/cpu/o3/thread_context.hh
parent79ba4b65957ed87907cacadc131f94628277b8db (diff)
downloadgem5-3595b0c5a1a3e398a7efae932cd4175cd1ca3f0e.tar.xz
SE/FS: Build/expose vport in SE mode.
Diffstat (limited to 'src/cpu/o3/thread_context.hh')
-rwxr-xr-xsrc/cpu/o3/thread_context.hh4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/cpu/o3/thread_context.hh b/src/cpu/o3/thread_context.hh
index 05b865569..afc0d7270 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 VirtualPort *getVirtPort();
-
virtual void connectMemPorts(ThreadContext *tc) { thread->connectMemPorts(tc); }
#else
virtual TranslatingPort *getMemPort() { return thread->getMemPort(); }
@@ -107,6 +105,8 @@ class O3ThreadContext : public ThreadContext
virtual Process *getProcessPtr() { return thread->getProcessPtr(); }
#endif
+ virtual VirtualPort *getVirtPort();
+
virtual FunctionalPort *getPhysPort() { return thread->getPhysPort(); }
/** Returns this thread's status. */