diff options
author | Gabe Black <gblack@eecs.umich.edu> | 2011-10-16 05:06:39 -0700 |
---|---|---|
committer | Gabe Black <gblack@eecs.umich.edu> | 2011-10-16 05:06:39 -0700 |
commit | 3595b0c5a1a3e398a7efae932cd4175cd1ca3f0e (patch) | |
tree | 651320e1a0c7fab8755bab36ba8f49980c1e1e4c /src/cpu/o3 | |
parent | 79ba4b65957ed87907cacadc131f94628277b8db (diff) | |
download | gem5-3595b0c5a1a3e398a7efae932cd4175cd1ca3f0e.tar.xz |
SE/FS: Build/expose vport in SE mode.
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() |