diff options
author | Gabe Black <gabeblack@google.com> | 2018-06-18 17:04:28 -0700 |
---|---|---|
committer | Gabe Black <gabeblack@google.com> | 2018-08-28 21:24:32 +0000 |
commit | c564fe0bcc6d53dd7f1b5dc2c0174bd445fd2a6d (patch) | |
tree | 8811974117bd0bdc31a81f7be817ebe81fcedf1a /src/systemc/core | |
parent | c09bc660bef1ff40bc37263f92b1d8c489aa8c7d (diff) | |
download | gem5-c564fe0bcc6d53dd7f1b5dc2c0174bd445fd2a6d.tar.xz |
systemc: Add a minimal version of the deprecated sc_process_b.
This type is deprecated, but some tests still rely on it. This change
adds just enough of it to satisfy the tests, and also the several
different mechanisms for retrieving the sc_process_b which refers to
the currently active process.
Change-Id: Id122ae5df23744b5de1e1c97573412f97a73b77a
Reviewed-on: https://gem5-review.googlesource.com/11351
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_process_handle.cc | 23 |
1 files changed, 23 insertions, 0 deletions
diff --git a/src/systemc/core/sc_process_handle.cc b/src/systemc/core/sc_process_handle.cc index 06fd0b30f..cf81f9ff5 100644 --- a/src/systemc/core/sc_process_handle.cc +++ b/src/systemc/core/sc_process_handle.cc @@ -63,6 +63,29 @@ sc_unwind_exception::~sc_unwind_exception() throw() } +const char * +sc_process_b::name() +{ + warn("%s not implemented.\n", __PRETTY_FUNCTION__); + return ""; +} + +const char * +sc_process_b::kind() +{ + warn("%s not implemented.\n", __PRETTY_FUNCTION__); + return ""; +} + + +sc_process_b * +sc_get_curr_process_handle() +{ + warn("%s not implemented.\n", __PRETTY_FUNCTION__); + return nullptr; +} + + sc_process_handle::sc_process_handle() { warn("%s not implemented.\n", __PRETTY_FUNCTION__); |