diff options
Diffstat (limited to 'src/cpu/o3')
-rwxr-xr-x | src/cpu/o3/thread_context.hh | 4 | ||||
-rwxr-xr-x | src/cpu/o3/thread_context_impl.hh | 2 |
2 files changed, 3 insertions, 3 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. */ diff --git a/src/cpu/o3/thread_context_impl.hh b/src/cpu/o3/thread_context_impl.hh index 4888cf92e..515fa5a50 100755 --- a/src/cpu/o3/thread_context_impl.hh +++ b/src/cpu/o3/thread_context_impl.hh @@ -47,7 +47,6 @@ #include "cpu/quiesce_event.hh" #include "debug/O3CPU.hh" -#if FULL_SYSTEM template <class Impl> VirtualPort * O3ThreadContext<Impl>::getVirtPort() @@ -55,6 +54,7 @@ O3ThreadContext<Impl>::getVirtPort() return thread->getVirtPort(); } +#if FULL_SYSTEM template <class Impl> void O3ThreadContext<Impl>::dumpFuncProfile() |