Change-Id: I7cc3e571a7a63eed383ad7f897342a539318f961
Reviewed-on: https://gem5-review.googlesource.com/c/13321
Reviewed-by: Gabe Black <gabeblack@google.com>
Maintainer: Gabe Black <gabeblack@google.com>
void
sc_module::dont_initialize()
{
- ::sc_gem5::Process::newest()->dontInitialize(true);
+ ::sc_gem5::Process *p = ::sc_gem5::Process::newest();
+ if (p->procKind() == SC_CTHREAD_PROC_) {
+ SC_REPORT_WARNING("(W524) dont_initialize() has no effect for "
+ "SC_CTHREADs", "");
+ }
+ p->dontInitialize(true);
}
void