diff options
author | Ali Saidi <saidi@eecs.umich.edu> | 2006-06-11 17:21:02 -0400 |
---|---|---|
committer | Ali Saidi <saidi@eecs.umich.edu> | 2006-06-11 17:21:02 -0400 |
commit | 4ab8e881edecd47ae3f2ba5fda345f7ff9788870 (patch) | |
tree | 2d5ad596249ebcee7481f4dd06179aef95207bd5 /src/cpu | |
parent | bb58e4b85163f263ebf5ea54fee5dba0109eb88c (diff) | |
download | gem5-4ab8e881edecd47ae3f2ba5fda345f7ff9788870.tar.xz |
Fix compiling for SPARC_SE:
- change include from exec_context.hh -> threadcontext.hh
- g++ 4.0.3 complaint about broken code (which it was).
- bad merge thread_context -> exec_context
src/arch/sparc/isa/includes.isa:
Fix SPARC_SE for exec_context->thread_context switch
src/arch/sparc/regfile.hh:
fix g++ 4.0.3 complaint about broken code (which it was).
src/cpu/thread_context.hh:
fix bad merge
--HG--
extra : convert_revision : f5bab822d5c25177756e9890e143b0ad8d704201
Diffstat (limited to 'src/cpu')
-rw-r--r-- | src/cpu/thread_context.hh | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/cpu/thread_context.hh b/src/cpu/thread_context.hh index e3bb7d9c3..48c8fa28d 100644 --- a/src/cpu/thread_context.hh +++ b/src/cpu/thread_context.hh @@ -245,6 +245,7 @@ class ThreadContext virtual void setSyscallReturn(SyscallReturn return_value) = 0; + virtual void syscall(int64_t callnum) = 0; // Same with st cond failures. virtual Counter readFuncExeInst() = 0; @@ -431,6 +432,7 @@ class ProxyThreadContext : public ThreadContext void setSyscallReturn(SyscallReturn return_value) { actualTC->setSyscallReturn(return_value); } + void syscall(int64_t callnum) { actualTC->syscall(callnum); } Counter readFuncExeInst() { return actualTC->readFuncExeInst(); } #endif |