From 3595b0c5a1a3e398a7efae932cd4175cd1ca3f0e Mon Sep 17 00:00:00 2001 From: Gabe Black Date: Sun, 16 Oct 2011 05:06:39 -0700 Subject: SE/FS: Build/expose vport in SE mode. --- src/cpu/o3/thread_context.hh | 4 ++-- src/cpu/o3/thread_context_impl.hh | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) (limited to 'src/cpu/o3') 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 VirtualPort * O3ThreadContext::getVirtPort() @@ -55,6 +54,7 @@ O3ThreadContext::getVirtPort() return thread->getVirtPort(); } +#if FULL_SYSTEM template void O3ThreadContext::dumpFuncProfile() -- cgit v1.2.3