summaryrefslogtreecommitdiff
path: root/src/systemc/core/object.cc
diff options
context:
space:
mode:
authorGabe Black <gabeblack@google.com>2018-06-29 16:46:52 -0700
committerGabe Black <gabeblack@google.com>2018-09-05 06:02:51 +0000
commit4bd389c9d0370d67464c2a508381abe326de3bdf (patch)
tree57fb22c26e1df3c0ebe49d406b89f6940217baa4 /src/systemc/core/object.cc
parentaaf0c47c972d3811314db93f0fe1ababf4c408f1 (diff)
downloadgem5-4bd389c9d0370d67464c2a508381abe326de3bdf.tar.xz
systemc: Fill out sc_process_handle and create Process classes.
The sc_process_handle class now primarily delegates to a Process object it points at. The Process object does book keeping as far as its internal state, but doesn't yet have a way to run its target function or to schedule itself or inject exceptions into its context of execution. Change-Id: I98389778abe29aa26e3e3a91bf02e6721acc8a9c Reviewed-on: https://gem5-review.googlesource.com/11613 Reviewed-by: Gabe Black <gabeblack@google.com> Maintainer: Gabe Black <gabeblack@google.com>
Diffstat (limited to 'src/systemc/core/object.cc')
-rw-r--r--src/systemc/core/object.cc2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/systemc/core/object.cc b/src/systemc/core/object.cc
index 8d2b73545..cfd4c5e93 100644
--- a/src/systemc/core/object.cc
+++ b/src/systemc/core/object.cc
@@ -100,7 +100,7 @@ Object::Object(sc_core::sc_object *sc_obj, const char *obj_name) :
sc_core::sc_object *sc_p = parent;
while (sc_p) {
_name = std::string(sc_p->basename()) + std::string(".") + _name;
- sc_p = get_parent_object();
+ sc_p = sc_p->get_parent_object();
}
}