diff options
Diffstat (limited to 'src/systemc/core/scheduler.hh')
-rw-r--r-- | src/systemc/core/scheduler.hh | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/src/systemc/core/scheduler.hh b/src/systemc/core/scheduler.hh index 29501bc24..dda483f0c 100644 --- a/src/systemc/core/scheduler.hh +++ b/src/systemc/core/scheduler.hh @@ -333,6 +333,8 @@ class Scheduler uint64_t changeStamp() { return _changeStamp; } + void throwToScMain(const ::sc_core::sc_report *r=nullptr); + private: typedef const EventBase::Priority Priority; static Priority DefaultPriority = EventBase::Default_Pri; @@ -377,7 +379,9 @@ class Scheduler void stop(); EventWrapper<Scheduler, &Scheduler::pause> pauseEvent; EventWrapper<Scheduler, &Scheduler::stop> stopEvent; + Fiber *scMain; + const ::sc_core::sc_report *_throwToScMain; bool starved() @@ -437,6 +441,8 @@ Scheduler::TimeSlot::process() scheduler.completeTimeSlot(this); } +const ::sc_core::sc_report *reportifyException(); + } // namespace sc_gem5 #endif // __SYSTEMC_CORE_SCHEDULER_H__ |