diff options
author | Gabe Black <gabeblack@google.com> | 2018-08-16 00:49:25 -0700 |
---|---|---|
committer | Gabe Black <gabeblack@google.com> | 2018-09-20 01:50:42 +0000 |
commit | e1128dc8eb4afefcf4dad5eb5f863e0da921960a (patch) | |
tree | a21b819227dce3657fca5c8b34bed86171c3354d /src/systemc | |
parent | f9298649bb4d1f20b244a6e0930bb82be5ec7397 (diff) | |
download | gem5-e1128dc8eb4afefcf4dad5eb5f863e0da921960a.tar.xz |
systemc: Don't run clocked thread processes during the init phase.
Change-Id: I170d67fef61dd5536a842a1f64682d90ae7a1507
Reviewed-on: https://gem5-review.googlesource.com/12211
Reviewed-by: Gabe Black <gabeblack@google.com>
Maintainer: Gabe Black <gabeblack@google.com>
Diffstat (limited to 'src/systemc')
-rw-r--r-- | src/systemc/core/sc_module.cc | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/systemc/core/sc_module.cc b/src/systemc/core/sc_module.cc index 1434f69f2..016b9edbe 100644 --- a/src/systemc/core/sc_module.cc +++ b/src/systemc/core/sc_module.cc @@ -61,6 +61,7 @@ newCThreadProcess(const char *name, ProcessFuncWrapper *func) { Process *p = new CThread(name, func); scheduler.reg(p); + p->dontInitialize(); return p; } |