summaryrefslogtreecommitdiff
path: root/src/cpu/checker
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/checker
parent85ca77d114f6c1bc3b90ce2faa02259aa6d825fe (diff)
downloadgem5-e8e9f9731281e8c2ecb50a9aa318a65402cbee5c.tar.xz
CPU: Make physPort and getPhysPort available in SE mode.
Diffstat (limited to 'src/cpu/checker')
-rw-r--r--src/cpu/checker/thread_context.hh4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/cpu/checker/thread_context.hh b/src/cpu/checker/thread_context.hh
index 5bd3ed734..197bab0b5 100644
--- a/src/cpu/checker/thread_context.hh
+++ b/src/cpu/checker/thread_context.hh
@@ -97,8 +97,6 @@ class CheckerThreadContext : public ThreadContext
TheISA::Kernel::Statistics *getKernelStats()
{ return actualTC->getKernelStats(); }
- FunctionalPort *getPhysPort() { return actualTC->getPhysPort(); }
-
VirtualPort *getVirtPort()
{ return actualTC->getVirtPort(); }
#else
@@ -107,6 +105,8 @@ class CheckerThreadContext : public ThreadContext
Process *getProcessPtr() { return actualTC->getProcessPtr(); }
#endif
+ FunctionalPort *getPhysPort() { return actualTC->getPhysPort(); }
+
Status status() const { return actualTC->status(); }
void setStatus(Status new_status)