summaryrefslogtreecommitdiff
path: root/src/cpu/thread_state.hh
diff options
context:
space:
mode:
authorGabe Black <gblack@eecs.umich.edu>2011-10-16 05:06:40 -0700
committerGabe Black <gblack@eecs.umich.edu>2011-10-16 05:06:40 -0700
commit464c485d0c7189e886d241ec36294d8d6b7c196e (patch)
tree5b05f5b3659944290ac2508dadd8f46afca463fb /src/cpu/thread_state.hh
parentbcf664e5f922bf1f1cbdb4bed493a441f82df7f7 (diff)
downloadgem5-464c485d0c7189e886d241ec36294d8d6b7c196e.tar.xz
SE/FS: Include getMemPort in FS.
Diffstat (limited to 'src/cpu/thread_state.hh')
-rw-r--r--src/cpu/thread_state.hh6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/cpu/thread_state.hh b/src/cpu/thread_state.hh
index 8fd99f7cf..1087c27c2 100644
--- a/src/cpu/thread_state.hh
+++ b/src/cpu/thread_state.hh
@@ -110,11 +110,11 @@ struct ThreadState {
TheISA::Kernel::Statistics *getKernelStats() { return kernelStats; }
#else
Process *getProcessPtr() { return process; }
+#endif
TranslatingPort *getMemPort();
void setMemPort(TranslatingPort *_port) { port = _port; }
-#endif
VirtualPort *getVirtPort() { return virtPort; }
@@ -187,11 +187,11 @@ struct ThreadState {
TheISA::Kernel::Statistics *kernelStats;
protected:
#else
- TranslatingPort *port;
-
Process *process;
#endif
+ TranslatingPort *port;
+
/** A functional port, outgoing only, for functional accesse to virtual
* addresses. */
VirtualPort *virtPort;