projects
/
gem5.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
6258547
)
O3ThreadContext: When taking over from a previous context, only assert that
author
Timothy M. Jones
<tjones1@inf.ed.ac.uk>
Tue, 22 Jun 2010 23:53:17 +0000
(
00:53
+0100)
committer
Timothy M. Jones
<tjones1@inf.ed.ac.uk>
Tue, 22 Jun 2010 23:53:17 +0000
(
00:53
+0100)
the system pointers match in Full System mode.
src/cpu/o3/thread_context_impl.hh
patch
|
blob
|
history
diff --git
a/src/cpu/o3/thread_context_impl.hh
b/src/cpu/o3/thread_context_impl.hh
index 940d460ced9d3801b0fba7a6a088dadf1423943f..a1a96933a896ecc83411c83a8541e8dd65178dbf 100755
(executable)
--- a/
src/cpu/o3/thread_context_impl.hh
+++ b/
src/cpu/o3/thread_context_impl.hh
@@
-55,8
+55,9
@@
void
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