summaryrefslogtreecommitdiff
path: root/src/systemc/core
diff options
context:
space:
mode:
authorGabe Black <gabeblack@google.com>2018-06-15 17:29:44 -0700
committerGabe Black <gabeblack@google.com>2018-08-22 01:04:02 +0000
commit05e48787980102f826632adc3bdfbc711ae559ce (patch)
treecadfee25f5e76ce9b70afd3b0e32158eb18fa7e9 /src/systemc/core
parent00b411d8d28af46b9067fe252cebd8dddd0ebfec (diff)
downloadgem5-05e48787980102f826632adc3bdfbc711ae559ce.tar.xz
systemc: Add the nonstandard, undocumented halt function.
Used in the tests. Change-Id: I9b4f10600a50e0def1b5d55428cb4ad49e401295 Reviewed-on: https://gem5-review.googlesource.com/11263 Reviewed-by: Gabe Black <gabeblack@google.com> Maintainer: Gabe Black <gabeblack@google.com>
Diffstat (limited to 'src/systemc/core')
-rw-r--r--src/systemc/core/sc_module.cc13
1 files changed, 13 insertions, 0 deletions
diff --git a/src/systemc/core/sc_module.cc b/src/systemc/core/sc_module.cc
index 646916fac..7e6b05976 100644
--- a/src/systemc/core/sc_module.cc
+++ b/src/systemc/core/sc_module.cc
@@ -371,6 +371,13 @@ sc_module::wait(double, sc_time_unit, const sc_event_and_list &)
void
+sc_module::halt()
+{
+ warn("%s not implemented.\n", __PRETTY_FUNCTION__);
+}
+
+
+void
next_trigger()
{
warn("%s not implemented.\n", __PRETTY_FUNCTION__);
@@ -521,6 +528,12 @@ wait(double, sc_time_unit, const sc_event_and_list &)
warn("%s not implemented.\n", __PRETTY_FUNCTION__);
}
+void
+halt()
+{
+ warn("%s not implemented.\n", __PRETTY_FUNCTION__);
+}
+
const char *
sc_gen_unique_name(const char *)
{