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>
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()
{
sc_dt::uint64 delta_count() const;
void reset();
sc_curr_proc_handle get_curr_proc_info();
+ sc_object *first_object();
+ sc_object *next_object();
};
sc_simcontext *sc_get_curr_simcontext();
path in (
- # Uses sc_get_curr_simcontext.
- "systemc/kernel/sc_object_manager/test01",
- "systemc/kernel/sc_name_gen/test1",
- "systemc/kernel/sc_process_b/test2",
-
# Uses sc_elab_and_sim.
"systemc/kernel/sc_main_main",