Get rid of the Unallocated thread context state.
authorSteve Reinhardt <steve.reinhardt@amd.com>
Wed, 15 Apr 2009 20:13:47 +0000 (13:13 -0700)
committerSteve Reinhardt <steve.reinhardt@amd.com>
Wed, 15 Apr 2009 20:13:47 +0000 (13:13 -0700)
commit8882dc1283771463a20194c083f4b8940a2d574b
treed33aa3b7b59a4a466d43643e0b8bc64acc66e951
parent9b66e8289781025bbc4d0e152737fa7c5d024ec8
Get rid of the Unallocated thread context state.
Basically merge it in with Halted.
Also had to get rid of a few other functions that
called ThreadContext::deallocate(), including:
 - InOrderCPU's setThreadRescheduleCondition.
 - ThreadContext::exit().  This function was there to avoid terminating
   simulation when one thread out of a multi-thread workload exits, but we
   need to find a better (non-cpu-centric) way.
20 files changed:
src/arch/sparc/ua2005.cc
src/cpu/checker/thread_context.hh
src/cpu/inorder/cpu.hh
src/cpu/inorder/inorder_dyn_inst.cc
src/cpu/inorder/inorder_dyn_inst.hh
src/cpu/inorder/thread_context.cc
src/cpu/inorder/thread_context.hh
src/cpu/o3/thread_context.hh
src/cpu/o3/thread_context_impl.hh
src/cpu/ozone/cpu.hh
src/cpu/ozone/cpu_impl.hh
src/cpu/simple/base.cc
src/cpu/simple_thread.cc
src/cpu/simple_thread.hh
src/cpu/thread_context.hh
src/kern/tru64/tru64.hh
src/sim/process.cc
src/sim/syscall_emul.cc
src/sim/system.cc
src/sim/system.hh