summaryrefslogtreecommitdiff
path: root/src/systemc/core/sc_main.cc
diff options
context:
space:
mode:
authorGabe Black <gabeblack@google.com>2018-05-30 14:48:11 -0700
committerGabe Black <gabeblack@google.com>2018-08-15 01:24:45 +0000
commit6915118bbf9bc6136d87895faccb91ee940c3609 (patch)
treed040c90724de6dc6cecee52642fc147742d0a654 /src/systemc/core/sc_main.cc
parente02ec0c24d56bce4a0d8636a340e15cd223d1930 (diff)
downloadgem5-6915118bbf9bc6136d87895faccb91ee940c3609.tar.xz
systemc: Add some missing functions which interact with the scheduler.
Change-Id: Ifc8c8d4a7bb6e941485e80f4884cfa4bb648c17c Reviewed-on: https://gem5-review.googlesource.com/10846 Reviewed-by: Jason Lowe-Power <jason@lowepower.com> Maintainer: Gabe Black <gabeblack@google.com>
Diffstat (limited to 'src/systemc/core/sc_main.cc')
-rw-r--r--src/systemc/core/sc_main.cc93
1 files changed, 93 insertions, 0 deletions
diff --git a/src/systemc/core/sc_main.cc b/src/systemc/core/sc_main.cc
index 5a6108a6b..3c4fdbb6a 100644
--- a/src/systemc/core/sc_main.cc
+++ b/src/systemc/core/sc_main.cc
@@ -121,4 +121,97 @@ sc_argv()
return _argv;
}
+void
+sc_start()
+{
+ warn("%s not implemented.\n", __PRETTY_FUNCTION__);
+}
+
+void
+sc_pause()
+{
+ warn("%s not implemented.\n", __PRETTY_FUNCTION__);
+}
+
+void
+sc_start(const sc_time &time, sc_starvation_policy p)
+{
+ warn("%s not implemented.\n", __PRETTY_FUNCTION__);
+}
+
+void
+sc_set_stop_mode(sc_stop_mode mode)
+{
+ warn("%s not implemented.\n", __PRETTY_FUNCTION__);
+}
+
+sc_stop_mode
+sc_get_stop_mode()
+{
+ warn("%s not implemented.\n", __PRETTY_FUNCTION__);
+ return SC_STOP_FINISH_DELTA;
+}
+
+void
+sc_stop()
+{
+ warn("%s not implemented.\n", __PRETTY_FUNCTION__);
+}
+
+const sc_time &
+sc_time_stamp()
+{
+ warn("%s not implemented.\n", __PRETTY_FUNCTION__);
+ return *(sc_time *)nullptr;
+}
+
+sc_dt::uint64
+sc_delta_count()
+{
+ warn("%s not implemented.\n", __PRETTY_FUNCTION__);
+ return 0;
+}
+
+bool
+sc_is_running()
+{
+ warn("%s not implemented.\n", __PRETTY_FUNCTION__);
+ return false;
+}
+
+bool
+sc_pending_activity_at_current_time()
+{
+ warn("%s not implemented.\n", __PRETTY_FUNCTION__);
+ return false;
+}
+
+bool
+sc_pending_activity_at_future_time()
+{
+ warn("%s not implemented.\n", __PRETTY_FUNCTION__);
+ return false;
+}
+
+bool
+sc_pending_activity()
+{
+ warn("%s not implemented.\n", __PRETTY_FUNCTION__);
+ return false;
+}
+
+sc_time
+sc_time_to_pending_activity()
+{
+ warn("%s not implemented.\n", __PRETTY_FUNCTION__);
+ return sc_time();
+}
+
+sc_status
+sc_get_status()
+{
+ warn("%s not implemented.\n", __PRETTY_FUNCTION__);
+ return SC_ELABORATION;
+}
+
} // namespace sc_core