summaryrefslogtreecommitdiff
path: root/src/cpu/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/thread_context.hh
parent85ca77d114f6c1bc3b90ce2faa02259aa6d825fe (diff)
downloadgem5-e8e9f9731281e8c2ecb50a9aa318a65402cbee5c.tar.xz
CPU: Make physPort and getPhysPort available in SE mode.
Diffstat (limited to 'src/cpu/thread_context.hh')
-rw-r--r--src/cpu/thread_context.hh8
1 files changed, 4 insertions, 4 deletions
diff --git a/src/cpu/thread_context.hh b/src/cpu/thread_context.hh
index 3b7f8b3c3..7d98a4049 100644
--- a/src/cpu/thread_context.hh
+++ b/src/cpu/thread_context.hh
@@ -128,8 +128,6 @@ class ThreadContext
#if FULL_SYSTEM
virtual TheISA::Kernel::Statistics *getKernelStats() = 0;
- virtual FunctionalPort *getPhysPort() = 0;
-
virtual VirtualPort *getVirtPort() = 0;
virtual void connectMemPorts(ThreadContext *tc) = 0;
@@ -139,6 +137,8 @@ class ThreadContext
virtual Process *getProcessPtr() = 0;
#endif
+ virtual FunctionalPort *getPhysPort() = 0;
+
virtual Status status() const = 0;
virtual void setStatus(Status new_status) = 0;
@@ -298,8 +298,6 @@ class ProxyThreadContext : public ThreadContext
TheISA::Kernel::Statistics *getKernelStats()
{ return actualTC->getKernelStats(); }
- FunctionalPort *getPhysPort() { return actualTC->getPhysPort(); }
-
VirtualPort *getVirtPort() { return actualTC->getVirtPort(); }
void connectMemPorts(ThreadContext *tc) { actualTC->connectMemPorts(tc); }
@@ -309,6 +307,8 @@ class ProxyThreadContext : public ThreadContext
Process *getProcessPtr() { return actualTC->getProcessPtr(); }
#endif
+ FunctionalPort *getPhysPort() { return actualTC->getPhysPort(); }
+
Status status() const { return actualTC->status(); }
void setStatus(Status new_status) { actualTC->setStatus(new_status); }