From 86d82dff58d631318161127b67d5689bb44f76cf Mon Sep 17 00:00:00 2001 From: Gabe Black Date: Mon, 10 Sep 2018 17:25:00 -0700 Subject: 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 Maintainer: Gabe Black --- src/systemc/core/scheduler.hh | 4 ---- 1 file changed, 4 deletions(-) (limited to 'src/systemc/core/scheduler.hh') diff --git a/src/systemc/core/scheduler.hh b/src/systemc/core/scheduler.hh index 052be08c3..0bbc3dac6 100644 --- a/src/systemc/core/scheduler.hh +++ b/src/systemc/core/scheduler.hh @@ -173,9 +173,6 @@ class Scheduler // Register a process with the scheduler. void reg(Process *p); - // Tell the scheduler not to initialize a process. - void dontInitialize(Process *p); - // Run the next process, if there is one. void yield(); @@ -439,7 +436,6 @@ class Scheduler bool runOnce; ProcessList initList; - ProcessList toFinalize; ProcessList *readyList; ProcessList readyListMethods; -- cgit v1.2.3