From 7617dcf736b5b96d44aedccd51550be037e7b937 Mon Sep 17 00:00:00 2001 From: Steve Reinhardt Date: Wed, 15 Apr 2009 13:18:24 -0700 Subject: ThreadState: initialize status to Halted in constructor. This provides a common initial status for all threads independent of CPU model (unlike the prior situation where CPUs initialized threads to inconsistent states). This mostly matters for SE mode; in FS mode, ISA-specific startupCPU() methods generally handle boot-time initialization of thread contexts (since the right thing to do is ISA-dependent). --- src/cpu/ozone/cpu_impl.hh | 1 - 1 file changed, 1 deletion(-) (limited to 'src/cpu/ozone') diff --git a/src/cpu/ozone/cpu_impl.hh b/src/cpu/ozone/cpu_impl.hh index 060ea6d78..ba1205010 100644 --- a/src/cpu/ozone/cpu_impl.hh +++ b/src/cpu/ozone/cpu_impl.hh @@ -131,7 +131,6 @@ OzoneCPU::OzoneCPU(Params *p) thread.inSyscall = false; - thread.setStatus(ThreadContext::Suspended); itb = p->itb; dtb = p->dtb; #if FULL_SYSTEM -- cgit v1.2.3