summaryrefslogtreecommitdiff
path: root/src/cpu/o3/thread_context.hh
diff options
context:
space:
mode:
authorNathan Binkert <nate@binkert.org>2009-01-19 20:36:49 -0800
committerNathan Binkert <nate@binkert.org>2009-01-19 20:36:49 -0800
commitdbac448b088eea12d8b20400c7a770e57e28d771 (patch)
treee1b7dd83c108a161ca2928c10a5fb8276f98cd71 /src/cpu/o3/thread_context.hh
parent81b8c0c79a0ed55f2d81fc66bf7e4667f708c1de (diff)
downloadgem5-dbac448b088eea12d8b20400c7a770e57e28d771.tar.xz
thread_context: move getSystemPtr so SE mode can get to it.
There was really no reason that it should be FS only.
Diffstat (limited to 'src/cpu/o3/thread_context.hh')
-rwxr-xr-xsrc/cpu/o3/thread_context.hh2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/cpu/o3/thread_context.hh b/src/cpu/o3/thread_context.hh
index 8682e071e..6de773ff1 100755
--- a/src/cpu/o3/thread_context.hh
+++ b/src/cpu/o3/thread_context.hh
@@ -86,10 +86,10 @@ class O3ThreadContext : public ThreadContext
virtual int threadId() { return thread->threadId(); }
virtual void setThreadId(int id) { return thread->setThreadId(id); }
-#if FULL_SYSTEM
/** Returns a pointer to the system. */
virtual System *getSystemPtr() { return cpu->system; }
+#if FULL_SYSTEM
/** Returns a pointer to physical memory. */
virtual PhysicalMemory *getPhysMemPtr() { return cpu->physmem; }