summaryrefslogtreecommitdiff
path: root/src/systemc/core
diff options
context:
space:
mode:
authorGabe Black <gabeblack@google.com>2018-06-18 19:09:56 -0700
committerGabe Black <gabeblack@google.com>2018-09-05 05:59:23 +0000
commitb6de909f928be88ca0cb42c9be37a2a286509779 (patch)
treec88e4018c906ec3c00db3dca1cc8af3e3fba763f /src/systemc/core
parent689f08e7e98887dc88a0eb614d5cc1e3bcd86a7a (diff)
downloadgem5-b6de909f928be88ca0cb42c9be37a2a286509779.tar.xz
systemc: Enable some more sc_simcontext related tests.
Now that we bit the bullet and stubbed out sc_simcontext and related functions a little bit, we can enable a couple more tests. This change also adds in some functions the new tests expect sc_simcontext to have. Change-Id: I00b5cc0c6eb658eb689b9c85ed171f290009768d Reviewed-on: https://gem5-review.googlesource.com/11356 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_simcontext.cc14
1 files changed, 14 insertions, 0 deletions
diff --git a/src/systemc/core/sc_simcontext.cc b/src/systemc/core/sc_simcontext.cc
index 6a281e5b1..647cb16db 100644
--- a/src/systemc/core/sc_simcontext.cc
+++ b/src/systemc/core/sc_simcontext.cc
@@ -53,6 +53,20 @@ sc_simcontext::get_curr_proc_info()
return nullptr;
}
+sc_object *
+sc_simcontext::first_object()
+{
+ warn("%s not implemented.\n", __PRETTY_FUNCTION__);
+ return nullptr;
+}
+
+sc_object *
+sc_simcontext::next_object()
+{
+ warn("%s not implemented.\n", __PRETTY_FUNCTION__);
+ return nullptr;
+}
+
sc_simcontext *
sc_get_curr_simcontext()
{