diff options
author | Gabe Black <gabeblack@google.com> | 2018-10-07 00:42:04 -0700 |
---|---|---|
committer | Gabe Black <gabeblack@google.com> | 2018-10-16 01:09:20 +0000 |
commit | 4e951d414e1ffc8e17aa4935b2a6421f4fbc1e22 (patch) | |
tree | 55d5b77cfea540ecbc52f7ff4191619ad45edd49 /src/systemc/core/sc_join.cc | |
parent | 208704b23a9f95f80fb49b3bfce4bccffd128060 (diff) | |
download | gem5-4e951d414e1ffc8e17aa4935b2a6421f4fbc1e22.tar.xz |
systemc: Switch to using predefined messages for core.
Create and use predefined messages for core which match the ones
Accellera uses.
Change-Id: I05b1398933f753946d5917f39d0f39c7cb45ed9f
Reviewed-on: https://gem5-review.googlesource.com/c/13323
Reviewed-by: Gabe Black <gabeblack@google.com>
Maintainer: Gabe Black <gabeblack@google.com>
Diffstat (limited to 'src/systemc/core/sc_join.cc')
-rw-r--r-- | src/systemc/core/sc_join.cc | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/systemc/core/sc_join.cc b/src/systemc/core/sc_join.cc index 3c27eaa42..bc7441d6e 100644 --- a/src/systemc/core/sc_join.cc +++ b/src/systemc/core/sc_join.cc @@ -29,6 +29,7 @@ #include "base/logging.hh" #include "systemc/core/process.hh" +#include "systemc/ext/core/messages.hh" #include "systemc/ext/core/sc_event.hh" #include "systemc/ext/core/sc_join.hh" #include "systemc/ext/core/sc_module.hh" @@ -46,8 +47,7 @@ sc_join::add_process(sc_process_handle h) assert(p); if (p->procKind() == SC_METHOD_PROC_) { - SC_REPORT_ERROR("(E561) Attempt to register method process " - "with sc_join object", ""); + SC_REPORT_ERROR(SC_ID_JOIN_ON_METHOD_HANDLE_, ""); return; } |