diff options
author | Gabe Black <gabeblack@google.com> | 2018-06-13 20:09:24 -0700 |
---|---|---|
committer | Gabe Black <gabeblack@google.com> | 2018-08-22 00:49:20 +0000 |
commit | 5f8af6b4eec1a2677965fa9d7818ca67b2274df7 (patch) | |
tree | 3ed66e6b8f609dc41cb5663905abba4456c05391 /src/systemc/ext/core/sc_process_handle.hh | |
parent | 895f463bbcf6d0a3503c981dd2a8b7d468a5cce7 (diff) | |
download | gem5-5f8af6b4eec1a2677965fa9d7818ca67b2274df7.tar.xz |
systemc: Add some "implementation defined" stuff to sc_attr_cltn.
These "impelementation defined" methods are tested by the regression
tests, so we need to have them. We might as well have the same
general interface as the Accellera implementation since nothing there
seems overly specialized for that environment.
Change-Id: Ief6567fcd9d99d3a0f526cfa3b65043b2c828efa
Reviewed-on: https://gem5-review.googlesource.com/11185
Reviewed-by: Gabe Black <gabeblack@google.com>
Maintainer: Gabe Black <gabeblack@google.com>
Diffstat (limited to 'src/systemc/ext/core/sc_process_handle.hh')
-rw-r--r-- | src/systemc/ext/core/sc_process_handle.hh | 9 |
1 files changed, 7 insertions, 2 deletions
diff --git a/src/systemc/ext/core/sc_process_handle.hh b/src/systemc/ext/core/sc_process_handle.hh index a928ab3ad..a8f977ba6 100644 --- a/src/systemc/ext/core/sc_process_handle.hh +++ b/src/systemc/ext/core/sc_process_handle.hh @@ -66,10 +66,15 @@ class sc_unwind_exception : public std::exception virtual const char *what() const throw(); virtual bool is_reset() const; - protected: - sc_unwind_exception(); + // Nonstandard. + // These should be protected, but I think this is to enable catch by + // value. + public: sc_unwind_exception(const sc_unwind_exception &); virtual ~sc_unwind_exception() throw(); + + protected: + sc_unwind_exception(); }; class sc_process_handle |