From b6de909f928be88ca0cb42c9be37a2a286509779 Mon Sep 17 00:00:00 2001 From: Gabe Black Date: Mon, 18 Jun 2018 19:09:56 -0700 Subject: 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 Maintainer: Gabe Black --- src/systemc/core/sc_simcontext.cc | 14 ++++++++++++++ 1 file changed, 14 insertions(+) (limited to 'src/systemc/core') 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() { -- cgit v1.2.3