systemc: Ignore direct requests to mark a process as ready.
authorGabe Black <gabeblack@google.com>
Tue, 24 Jul 2018 02:39:52 +0000 (19:39 -0700)
committerGabe Black <gabeblack@google.com>
Tue, 11 Sep 2018 21:47:29 +0000 (21:47 +0000)
commit802efef3c40a028b0048bc4b8985dcc9bf64322f
tree83c30d08427e29f0302d4c8f97b15166b14b32f4
parente27712b2d956d3a16372e5287b208335d7574684
systemc: Ignore direct requests to mark a process as ready.

That might happen when a process is being marked as ready at the start
of simulation.

Because the process might not end up on the ready list, displacing it
from the init list, excplicitly pop it off the init list as well.

Change-Id: Iebf972e3e1baedec17b9b99b4da9dd44cd8e6957
Reviewed-on: https://gem5-review.googlesource.com/12047
Reviewed-by: Gabe Black <gabeblack@google.com>
Maintainer: Gabe Black <gabeblack@google.com>
src/systemc/core/process.cc
src/systemc/core/scheduler.cc