summaryrefslogtreecommitdiff
path: root/src/systemc/core/kernel.hh
diff options
context:
space:
mode:
authorGabe Black <gabeblack@google.com>2018-11-07 00:00:29 -0800
committerGabe Black <gabeblack@google.com>2018-11-09 01:26:17 +0000
commit6dd72cf55cf1c0b8d0772585ca25ed75a81e3d47 (patch)
tree2e221f9dd0e744ef82632575985a3c9997e50ca3 /src/systemc/core/kernel.hh
parent296402abdfac1bcab998cb8613d14e65e671ddda (diff)
downloadgem5-6dd72cf55cf1c0b8d0772585ca25ed75a81e3d47.tar.xz
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 <jason@lowepower.com> Maintainer: Gabe Black <gabeblack@google.com>
Diffstat (limited to 'src/systemc/core/kernel.hh')
-rw-r--r--src/systemc/core/kernel.hh3
1 files changed, 0 insertions, 3 deletions
diff --git a/src/systemc/core/kernel.hh b/src/systemc/core/kernel.hh
index e0808fe47..b9a37d00a 100644
--- a/src/systemc/core/kernel.hh
+++ b/src/systemc/core/kernel.hh
@@ -64,9 +64,6 @@ class Kernel : public SimObject
static bool startOfSimulationComplete();
static bool endOfSimulationComplete();
- static bool scMainFinished();
- static void scMainFinished(bool);
-
private:
static void stopWork();