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/inorder/thread_context.cc | 3 +-- src/cpu/inorder/thread_context.hh | 3 +-- 2 files changed, 2 insertions(+), 4 deletions(-) (limited to 'src/cpu/inorder') diff --git a/src/cpu/inorder/thread_context.cc b/src/cpu/inorder/thread_context.cc index af6e18291..f5e55627c 100644 --- a/src/cpu/inorder/thread_context.cc +++ b/src/cpu/inorder/thread_context.cc @@ -37,14 +37,13 @@ using namespace TheISA; -#if FULL_SYSTEM - VirtualPort * InOrderThreadContext::getVirtPort() { return thread->getVirtPort(); } +#if FULL_SYSTEM void InOrderThreadContext::dumpFuncProfile() diff --git a/src/cpu/inorder/thread_context.hh b/src/cpu/inorder/thread_context.hh index 2d8d8ba03..2586d9372 100644 --- a/src/cpu/inorder/thread_context.hh +++ b/src/cpu/inorder/thread_context.hh @@ -118,8 +118,6 @@ class InOrderThreadContext : public ThreadContext TheISA::Kernel::Statistics *getKernelStats() { return thread->kernelStats; } - VirtualPort *getVirtPort(); - void connectMemPorts(ThreadContext *tc) { thread->connectMemPorts(tc); } @@ -151,6 +149,7 @@ class InOrderThreadContext : public ThreadContext Process *getProcessPtr() { return thread->getProcessPtr(); } #endif + VirtualPort *getVirtPort(); FunctionalPort *getPhysPort() { return thread->getPhysPort(); } /** Returns this thread's status. */ -- cgit v1.2.3