From 6dd72cf55cf1c0b8d0772585ca25ed75a81e3d47 Mon Sep 17 00:00:00 2001 From: Gabe Black Date: Wed, 7 Nov 2018 00:00:29 -0800 Subject: systemc: Seperate out the sc_main fiber and its bookkeeping. By pulling out the sc_main fiber (scMainFiber), we can make it available to different entities in the simulator and avoid having to have parallel bookkeeping. Also this will make it possible to hook into sc_main without putting the code in sc_main.cc. Change-Id: I7689441424238e9b2e4d2b48e945dea35fd8cc5d Reviewed-on: https://gem5-review.googlesource.com/c/13977 Reviewed-by: Jason Lowe-Power Maintainer: Gabe Black --- src/systemc/core/scheduler.hh | 3 --- 1 file changed, 3 deletions(-) (limited to 'src/systemc/core/scheduler.hh') diff --git a/src/systemc/core/scheduler.hh b/src/systemc/core/scheduler.hh index 2ae03ea1b..64841086d 100644 --- a/src/systemc/core/scheduler.hh +++ b/src/systemc/core/scheduler.hh @@ -333,8 +333,6 @@ class Scheduler // Run delta events. void runDelta(); - void setScMainFiber(Fiber *sc_main) { scMain = sc_main; } - void start(Tick max_tick, bool run_to_time); void oneCycle(); @@ -426,7 +424,6 @@ class Scheduler EventWrapper pauseEvent; EventWrapper stopEvent; - Fiber *scMain; const ::sc_core::sc_report *_throwToScMain; bool -- cgit v1.2.3