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/thread_context.hh | |
parent | 79ba4b65957ed87907cacadc131f94628277b8db (diff) | |
download | gem5-3595b0c5a1a3e398a7efae932cd4175cd1ca3f0e.tar.xz |
SE/FS: Build/expose vport in SE mode.
Diffstat (limited to 'src/cpu/thread_context.hh')
-rw-r--r-- | src/cpu/thread_context.hh | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/src/cpu/thread_context.hh b/src/cpu/thread_context.hh index 7d98a4049..eac214f77 100644 --- a/src/cpu/thread_context.hh +++ b/src/cpu/thread_context.hh @@ -128,8 +128,6 @@ class ThreadContext #if FULL_SYSTEM virtual TheISA::Kernel::Statistics *getKernelStats() = 0; - virtual VirtualPort *getVirtPort() = 0; - virtual void connectMemPorts(ThreadContext *tc) = 0; #else virtual TranslatingPort *getMemPort() = 0; @@ -137,6 +135,8 @@ class ThreadContext virtual Process *getProcessPtr() = 0; #endif + virtual VirtualPort *getVirtPort() = 0; + virtual FunctionalPort *getPhysPort() = 0; virtual Status status() const = 0; @@ -298,8 +298,6 @@ class ProxyThreadContext : public ThreadContext TheISA::Kernel::Statistics *getKernelStats() { return actualTC->getKernelStats(); } - VirtualPort *getVirtPort() { return actualTC->getVirtPort(); } - void connectMemPorts(ThreadContext *tc) { actualTC->connectMemPorts(tc); } #else TranslatingPort *getMemPort() { return actualTC->getMemPort(); } @@ -307,6 +305,8 @@ class ProxyThreadContext : public ThreadContext Process *getProcessPtr() { return actualTC->getProcessPtr(); } #endif + VirtualPort *getVirtPort() { return actualTC->getVirtPort(); } + FunctionalPort *getPhysPort() { return actualTC->getPhysPort(); } Status status() const { return actualTC->status(); } |