o3, inorder: fix FS bug due to initializing ThreadState to Halted.
authorSteve Reinhardt <steve.reinhardt@amd.com>
Fri, 17 Apr 2009 23:54:58 +0000 (16:54 -0700)
committerSteve Reinhardt <steve.reinhardt@amd.com>
Fri, 17 Apr 2009 23:54:58 +0000 (16:54 -0700)
commit14808ecac9de9fe04eb58a4ca9393e3b4f0a60ae
tree1f310d1ff055192e736addbdc9e9016923027c85
parentb146131d18c1567acdc9bbba5acd73ade086ded8
o3, inorder: fix FS bug due to initializing ThreadState to Halted.
For some reason o3 FS init() only called initCPU if the thread state
was Suspended, which was no longer the case.  There's no apparent
reason to check, so I whacked the test completely rather than
changing the check to Halted.
The inorder init() was also updated to be symmetric, though the
previous code was just a fancy no-op.
src/cpu/inorder/cpu.cc
src/cpu/o3/cpu.cc