systemc: Refactor reporting to prep for int based messages.
authorGabe Black <gabeblack@google.com>
Sun, 7 Oct 2018 02:00:56 +0000 (19:00 -0700)
committerGabe Black <gabeblack@google.com>
Tue, 16 Oct 2018 01:05:58 +0000 (01:05 +0000)
commit7eb6ad4aaa3afb8a5625a4515cbcfd141d5ce45b
tree52fe361cfd38edf1ba205f0aaf6da2f5c63f9357
parent7a2ace7c5da5935eef2cf32527df954547de2d8b
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>
src/systemc/core/sc_main.cc
src/systemc/core/scheduler.cc
src/systemc/ext/utils/sc_report_handler.hh
src/systemc/utils/SConscript
src/systemc/utils/report.cc [new file with mode: 0644]
src/systemc/utils/report.hh [new file with mode: 0644]
src/systemc/utils/sc_report_handler.cc