changeset 91994f36de7f in /z/repo/m5
details: http://repo.m5sim.org/m5?cmd=changeset;node=91994f36de7f
description:
        O3ThreadContext: When taking over from a previous context, only assert 
that
        the system pointers match in Full System mode.

diffstat:

 src/cpu/o3/thread_context_impl.hh |  3 ++-
 1 files changed, 2 insertions(+), 1 deletions(-)

diffs (14 lines):

diff -r c880d4812539 -r 91994f36de7f src/cpu/o3/thread_context_impl.hh
--- a/src/cpu/o3/thread_context_impl.hh Wed Jun 16 15:25:57 2010 -0700
+++ b/src/cpu/o3/thread_context_impl.hh Wed Jun 23 00:53:17 2010 +0100
@@ -55,8 +55,9 @@
 O3ThreadContext<Impl>::takeOverFrom(ThreadContext *old_context)
 {
     // some things should already be set up
+#if FULL_SYSTEM
     assert(getSystemPtr() == old_context->getSystemPtr());
-#if !FULL_SYSTEM
+#else
     assert(getProcessPtr() == old_context->getProcessPtr());
 #endif
 
_______________________________________________
m5-dev mailing list
[email protected]
http://m5sim.org/mailman/listinfo/m5-dev

Reply via email to