systemc: Keep all pre-init processes on a single list.
authorGabe Black <gabeblack@google.com>
Tue, 11 Sep 2018 00:25:00 +0000 (17:25 -0700)
committerGabe Black <gabeblack@google.com>
Tue, 9 Oct 2018 21:45:00 +0000 (21:45 +0000)
commit86d82dff58d631318161127b67d5689bb44f76cf
tree0131fb1d4f161a3bc7ca20c03d0137f245e2c45c
parente4ab67f7176b3c11536698014c98681d3d36131b
systemc: Keep all pre-init processes on a single list.

We were keeping track of processes which should be initialized and
those which shouldn't on two different lists, and then processing
each list one after the other. This could reorder processes from the
order they were created, and so cause spurious differences which cause
the Accellera tests to fail.

This does make the scheduler slightly simpler, so it's not all bad.

Change-Id: I63306a41ce7bea91fa9ff2f6774ce9150134ce48
Reviewed-on: https://gem5-review.googlesource.com/c/12613
Reviewed-by: Gabe Black <gabeblack@google.com>
Maintainer: Gabe Black <gabeblack@google.com>
src/systemc/channel/sc_clock.cc
src/systemc/core/process.cc
src/systemc/core/process.hh
src/systemc/core/sc_module.cc
src/systemc/core/sc_spawn.cc
src/systemc/core/scheduler.cc
src/systemc/core/scheduler.hh