systemc: Add some nonstandard (get|set)_catch_actions functions.
These are used by the tests. Change-Id: I09bbe81854f0faa524a4c6aa0ef31d80e4a8de24 Reviewed-on: https://gem5-review.googlesource.com/11265 Reviewed-by: Gabe Black <gabeblack@google.com> Maintainer: Gabe Black <gabeblack@google.com>
This commit is contained in:
@@ -95,6 +95,9 @@ class sc_report_handler
|
||||
static sc_actions force(sc_actions);
|
||||
static sc_actions force();
|
||||
|
||||
static sc_actions set_catch_actions(sc_actions);
|
||||
static sc_actions get_catch_actions();
|
||||
|
||||
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();
|
||||
|
||||
@@ -161,6 +161,21 @@ sc_report_handler::force()
|
||||
}
|
||||
|
||||
|
||||
sc_actions
|
||||
sc_report_handler::set_catch_actions(sc_actions)
|
||||
{
|
||||
warn("%s not implemented.\n", __PRETTY_FUNCTION__);
|
||||
return SC_UNSPECIFIED;
|
||||
}
|
||||
|
||||
sc_actions
|
||||
sc_report_handler::get_catch_actions()
|
||||
{
|
||||
warn("%s not implemented.\n", __PRETTY_FUNCTION__);
|
||||
return SC_UNSPECIFIED;
|
||||
}
|
||||
|
||||
|
||||
void
|
||||
sc_report_handler::set_handler(sc_report_handler_proc)
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user