diff options
author | Gabe Black <gblack@eecs.umich.edu> | 2011-10-30 00:33:02 -0700 |
---|---|---|
committer | Gabe Black <gblack@eecs.umich.edu> | 2011-10-30 00:33:02 -0700 |
commit | facb40f3ffce30cd9bc3b904eed5761d2d8b91c9 (patch) | |
tree | a8db1326da23d56c23058c95cf5bf707fc3208b4 /src/cpu/o3/thread_context.hh | |
parent | 5b433568f05c6f1b093628c2a90f8383abfc1168 (diff) | |
download | gem5-facb40f3ffce30cd9bc3b904eed5761d2d8b91c9.tar.xz |
SE/FS: Make getProcessPtr available in both modes, and get rid of FULL_SYSTEMs.
Diffstat (limited to 'src/cpu/o3/thread_context.hh')
-rwxr-xr-x | src/cpu/o3/thread_context.hh | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/src/cpu/o3/thread_context.hh b/src/cpu/o3/thread_context.hh index 2688e75e1..145d6fd29 100755 --- a/src/cpu/o3/thread_context.hh +++ b/src/cpu/o3/thread_context.hh @@ -98,10 +98,9 @@ class O3ThreadContext : public ThreadContext { return thread->kernelStats; } virtual void connectMemPorts(ThreadContext *tc) { thread->connectMemPorts(tc); } -#else +#endif /** Returns a pointer to this thread's process. */ virtual Process *getProcessPtr() { return thread->getProcessPtr(); } -#endif virtual TranslatingPort *getMemPort() { return thread->getMemPort(); } |