diff options
author | Gabe Black <gabeblack@google.com> | 2018-10-06 19:00:56 -0700 |
---|---|---|
committer | Gabe Black <gabeblack@google.com> | 2018-10-16 01:05:58 +0000 |
commit | 7eb6ad4aaa3afb8a5625a4515cbcfd141d5ce45b (patch) | |
tree | 52fe361cfd38edf1ba205f0aaf6da2f5c63f9357 /src/systemc/ext | |
parent | 7a2ace7c5da5935eef2cf32527df954547de2d8b (diff) | |
download | gem5-7eb6ad4aaa3afb8a5625a4515cbcfd141d5ce45b.tar.xz |
systemc: Refactor reporting to prep for int based messages.
There's a deprecated reporting mechanism based on integer message ids,
and the reporting mechanism needs to be refactored a bit to make it
easier to support.
Some bookkeeping data structures were moved out to somewhere they
can be accessed by other code, obviating the non-standard get_handler
function.
Change-Id: Id427cd79be9ef0f3275fbac39ff047ab672fb3e0
Reviewed-on: https://gem5-review.googlesource.com/c/13318
Reviewed-by: Gabe Black <gabeblack@google.com>
Maintainer: Gabe Black <gabeblack@google.com>
Diffstat (limited to 'src/systemc/ext')
-rw-r--r-- | src/systemc/ext/utils/sc_report_handler.hh | 4 |
1 files changed, 0 insertions, 4 deletions
diff --git a/src/systemc/ext/utils/sc_report_handler.hh b/src/systemc/ext/utils/sc_report_handler.hh index 6ce20afb4..f65b32cca 100644 --- a/src/systemc/ext/utils/sc_report_handler.hh +++ b/src/systemc/ext/utils/sc_report_handler.hh @@ -105,10 +105,6 @@ class sc_report_handler static void set_handler(sc_report_handler_proc); static void default_handler(const sc_report &, const sc_actions &); static sc_actions get_new_action_id(); - // Nonstandard - // Returns the current handler so it can be restored if it needs to be - // changed temporarily. - static sc_report_handler_proc get_handler(); static sc_report *get_cached_report(); static void clear_cached_report(); |