diff options
author | Gabe Black <gabeblack@google.com> | 2018-06-18 17:17:35 -0700 |
---|---|---|
committer | Gabe Black <gabeblack@google.com> | 2018-08-28 21:25:32 +0000 |
commit | 2b4b94d0556c2d03172ebff63f7fc502c3c26ff8 (patch) | |
tree | 21a5b1eecb88241ad99ceb60a14199100101d675 /src/systemc/ext/core/sc_object.hh | |
parent | c564fe0bcc6d53dd7f1b5dc2c0174bd445fd2a6d (diff) | |
download | gem5-2b4b94d0556c2d03172ebff63f7fc502c3c26ff8.tar.xz |
systemc: Minimally implemented the deprecated sc_simcontext.
This is supposed to be deprecated, but is still used in a small way
by the tests.
Change-Id: I94fc32f9e0f03d50c00ce5421926203859064020
Reviewed-on: https://gem5-review.googlesource.com/11352
Reviewed-by: Gabe Black <gabeblack@google.com>
Maintainer: Gabe Black <gabeblack@google.com>
Diffstat (limited to 'src/systemc/ext/core/sc_object.hh')
-rw-r--r-- | src/systemc/ext/core/sc_object.hh | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/src/systemc/ext/core/sc_object.hh b/src/systemc/ext/core/sc_object.hh index 0e975814f..653df874e 100644 --- a/src/systemc/ext/core/sc_object.hh +++ b/src/systemc/ext/core/sc_object.hh @@ -40,6 +40,7 @@ namespace sc_core class sc_event; class sc_attr_base; class sc_attr_cltn; +class sc_simcontext; class sc_object { @@ -64,6 +65,10 @@ class sc_object sc_attr_cltn &attr_cltn(); const sc_attr_cltn &attr_cltn() const; + // Deprecated + sc_simcontext * + simcontext() const; + protected: sc_object(); sc_object(const char *); |