diff options
author | Ali Saidi <saidi@eecs.umich.edu> | 2007-11-08 10:46:41 -0500 |
---|---|---|
committer | Ali Saidi <saidi@eecs.umich.edu> | 2007-11-08 10:46:41 -0500 |
commit | e41197a3f8e93a1c67dddccc96a54e6f560386b2 (patch) | |
tree | edad4e900baa21dfa8c95fb2ae6586911e2c8447 /src/cpu/thread_context.hh | |
parent | 17e83e7f8346a25a313e4fc58ed7008b46fd818f (diff) | |
download | gem5-e41197a3f8e93a1c67dddccc96a54e6f560386b2.tar.xz |
CPU: Add function to explictly compare thread contexts after copying.
--HG--
extra : convert_revision : 9b7af59a11202a91409aad7c427b7749cd1d2f12
Diffstat (limited to 'src/cpu/thread_context.hh')
-rw-r--r-- | src/cpu/thread_context.hh | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/src/cpu/thread_context.hh b/src/cpu/thread_context.hh index 1af029093..31fdb42c2 100644 --- a/src/cpu/thread_context.hh +++ b/src/cpu/thread_context.hh @@ -268,6 +268,9 @@ class ThreadContext virtual void changeRegFileContext(TheISA::RegContextParam param, TheISA::RegContextVal val) = 0; + + /** function to compare two thread contexts (for debugging) */ + static void compare(ThreadContext *one, ThreadContext *two); }; /** |