diff options
author | Gabe Black <gabeblack@google.com> | 2018-05-30 14:48:11 -0700 |
---|---|---|
committer | Gabe Black <gabeblack@google.com> | 2018-08-15 01:24:45 +0000 |
commit | 6915118bbf9bc6136d87895faccb91ee940c3609 (patch) | |
tree | d040c90724de6dc6cecee52642fc147742d0a654 /src/systemc/core | |
parent | e02ec0c24d56bce4a0d8636a340e15cd223d1930 (diff) | |
download | gem5-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')
-rw-r--r-- | src/systemc/core/sc_main.cc | 93 |
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 |