diff options
author | Korey Sewell <ksewell@umich.edu> | 2007-11-15 03:10:41 -0500 |
---|---|---|
committer | Korey Sewell <ksewell@umich.edu> | 2007-11-15 03:10:41 -0500 |
commit | 789153dff64edcf046d800f231dffa6d66004ed5 (patch) | |
tree | 23af9c76854b19aff31c27173de9897729b6ab9a /src/cpu/thread_context.hh | |
parent | 375ddf8d25c3d81a77bd5dd7b70f84a0dbe48fe8 (diff) | |
download | gem5-789153dff64edcf046d800f231dffa6d66004ed5.tar.xz |
Get MIPS simple regression working. Take out unecessary functions "setShadowSet", "CacheOp"
--HG--
extra : convert_revision : a9ae8a7e62c27c2db16fd3cfa7a7f0bf5f0bf8ea
Diffstat (limited to 'src/cpu/thread_context.hh')
-rw-r--r-- | src/cpu/thread_context.hh | 14 |
1 files changed, 4 insertions, 10 deletions
diff --git a/src/cpu/thread_context.hh b/src/cpu/thread_context.hh index fd35efc91..9f6af8890 100644 --- a/src/cpu/thread_context.hh +++ b/src/cpu/thread_context.hh @@ -150,13 +150,13 @@ class ThreadContext virtual void activate(int delay = 1) = 0; /// Set the status to Suspended. - virtual void suspend() = 0; + virtual void suspend(int delay = 0) = 0; /// Set the status to Unallocated. virtual void deallocate(int delay = 0) = 0; /// Set the status to Halted. - virtual void halt() = 0; + virtual void halt(int delay = 0) = 0; #if FULL_SYSTEM virtual void dumpFuncProfile() = 0; @@ -238,8 +238,6 @@ class ThreadContext virtual void setRegOtherThread(int misc_reg, const MiscReg &val, unsigned tid) { }; - virtual void setShadowSet(int css) = 0; - // Also not necessarily the best location for these two. Hopefully will go // away once we decide upon where st cond failures goes. virtual unsigned readStCondFailures() = 0; @@ -335,13 +333,13 @@ class ProxyThreadContext : public ThreadContext void activate(int delay = 1) { actualTC->activate(delay); } /// Set the status to Suspended. - void suspend() { actualTC->suspend(); } + void suspend(int delay = 0) { actualTC->suspend(); } /// Set the status to Unallocated. void deallocate(int delay = 0) { actualTC->deallocate(); } /// Set the status to Halted. - void halt() { actualTC->halt(); } + void halt(int delay = 0) { actualTC->halt(); } #if FULL_SYSTEM void dumpFuncProfile() { actualTC->dumpFuncProfile(); } @@ -409,10 +407,6 @@ class ProxyThreadContext : public ThreadContext void setFloatRegBits(int reg_idx, FloatRegBits val) { actualTC->setFloatRegBits(reg_idx, val); } - void setShadowSet(int css){ - return actualTC->setShadowSet(css); - } - uint64_t readPC() { return actualTC->readPC(); } void setPC(uint64_t val) { actualTC->setPC(val); } |