diff options
author | Gabe Black <gabeblack@google.com> | 2018-10-06 04:11:00 -0700 |
---|---|---|
committer | Gabe Black <gabeblack@google.com> | 2018-10-16 01:03:21 +0000 |
commit | e035d680f0051936052ae02c70c8527e194007aa (patch) | |
tree | abbe628745c05ad66cff9f69675600074247cc3d /src/systemc/core/process.hh | |
parent | 226207d43a0897d07448945fab06554b8dfbc684 (diff) | |
download | gem5-e035d680f0051936052ae02c70c8527e194007aa.tar.xz |
systemc: If a process hasn't started, still signal its reset event.
Change-Id: I9c8026cde455070841139d02955f5c083b9e0645
Reviewed-on: https://gem5-review.googlesource.com/c/13314
Reviewed-by: Gabe Black <gabeblack@google.com>
Maintainer: Gabe Black <gabeblack@google.com>
Diffstat (limited to 'src/systemc/core/process.hh')
-rw-r--r-- | src/systemc/core/process.hh | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/systemc/core/process.hh b/src/systemc/core/process.hh index 86ca6744e..d50c82905 100644 --- a/src/systemc/core/process.hh +++ b/src/systemc/core/process.hh @@ -97,8 +97,8 @@ class Process : public ::sc_core::sc_process_b, public ListNode void incref() { refCount++; } void decref() { refCount--; } - const ::sc_core::sc_event &resetEvent() { return _resetEvent; } - const ::sc_core::sc_event &terminatedEvent() { return _terminatedEvent; } + ::sc_core::sc_event &resetEvent() { return _resetEvent; } + ::sc_core::sc_event &terminatedEvent() { return _terminatedEvent; } void setStackSize(size_t size) { stackSize = size; } |