From 8882dc1283771463a20194c083f4b8940a2d574b Mon Sep 17 00:00:00 2001 From: Steve Reinhardt Date: Wed, 15 Apr 2009 13:13:47 -0700 Subject: 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. --- src/cpu/checker/thread_context.hh | 3 --- 1 file changed, 3 deletions(-) (limited to 'src/cpu/checker') diff --git a/src/cpu/checker/thread_context.hh b/src/cpu/checker/thread_context.hh index 6b21bf670..2176c597a 100644 --- a/src/cpu/checker/thread_context.hh +++ b/src/cpu/checker/thread_context.hh @@ -121,9 +121,6 @@ class CheckerThreadContext : public ThreadContext /// Set the status to Suspended. void suspend() { actualTC->suspend(); } - /// Set the status to Unallocated. - void deallocate(int delay = 0) { actualTC->deallocate(delay); } - /// Set the status to Halted. void halt() { actualTC->halt(); } -- cgit v1.2.3