summaryrefslogtreecommitdiff
path: root/src/systemc/core/kernel.cc
diff options
context:
space:
mode:
Diffstat (limited to 'src/systemc/core/kernel.cc')
-rw-r--r--src/systemc/core/kernel.cc6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/systemc/core/kernel.cc b/src/systemc/core/kernel.cc
index 2fd3027da..13e69d1f4 100644
--- a/src/systemc/core/kernel.cc
+++ b/src/systemc/core/kernel.cc
@@ -103,7 +103,7 @@ Kernel::regStats()
for (auto c: sc_gem5::allChannels)
c->sc_chan()->end_of_elaboration();
} catch (...) {
- ::sc_gem5::scheduler.throwToScMain();
+ ::sc_gem5::scheduler.throwUp();
}
}
@@ -127,7 +127,7 @@ Kernel::startup()
for (auto c: sc_gem5::allChannels)
c->sc_chan()->start_of_simulation();
} catch (...) {
- ::sc_gem5::scheduler.throwToScMain();
+ ::sc_gem5::scheduler.throwUp();
}
startComplete = true;
@@ -159,7 +159,7 @@ Kernel::stopWork()
for (auto c: sc_gem5::allChannels)
c->sc_chan()->end_of_simulation();
} catch (...) {
- ::sc_gem5::scheduler.throwToScMain();
+ ::sc_gem5::scheduler.throwUp();
}
endComplete = true;