diff options
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); }; /** |