cpu: rename the misleading inSyscall to noSquashFromTC
authorAli Saidi <Ali.Saidi@ARM.com>
Mon, 7 Jan 2013 18:05:33 +0000 (13:05 -0500)
committerAli Saidi <Ali.Saidi@ARM.com>
Mon, 7 Jan 2013 18:05:33 +0000 (13:05 -0500)
commit5146a69835bc9ba37fba7d3b0ff72ecaf9b98b74
tree694786d4ffd6384a3736d48e1fd20e29408bf56d
parent90bd20aae2bc940397628a4598b5b25f2c8549b5
cpu: rename the misleading inSyscall to noSquashFromTC

isSyscall was originally created because during handling of a syscall in SE
mode the threadcontext had to be updated. However, in many places this is used
in FS mode (e.g. fault handlers) and the name doesn't make much sense. The
boolean actually stops gem5 from squashing speculative and non-committed state
when a write to a threadcontext happens, so re-name the variable to something
more appropriate
18 files changed:
src/cpu/checker/cpu_impl.hh
src/cpu/inorder/cpu.cc
src/cpu/inorder/inorder_dyn_inst.cc
src/cpu/inorder/thread_context.cc
src/cpu/inorder/thread_state.hh
src/cpu/o3/commit_impl.hh
src/cpu/o3/cpu.cc
src/cpu/o3/dyn_inst.hh
src/cpu/o3/dyn_inst_impl.hh
src/cpu/o3/thread_context.hh
src/cpu/o3/thread_context_impl.hh
src/cpu/o3/thread_state.hh
src/cpu/ozone/back_end_impl.hh
src/cpu/ozone/cpu_impl.hh
src/cpu/ozone/dyn_inst_impl.hh
src/cpu/ozone/inorder_back_end_impl.hh
src/cpu/ozone/lw_back_end_impl.hh
src/cpu/ozone/thread_state.hh