systemc: Make sure methods aren't restarted by yield.
authorGabe Black <gabeblack@google.com>
Sat, 25 Aug 2018 00:58:10 +0000 (17:58 -0700)
committerGabe Black <gabeblack@google.com>
Wed, 26 Sep 2018 00:01:55 +0000 (00:01 +0000)
commit28b09df79bdd6c232be2b386119569291f92311c
tree81ad2c20317c9946794152df562801958239ee50
parente95a3062415a27ddd8183fa3a621aba6198b1621
systemc: Make sure methods aren't restarted by yield.

Methods may need to yield control to other Processes when throwing
them exceptions. In that case, we need to keep track of the fact that
the method doesn't need to be restarted when it resumes within yield.

Change-Id: I829c387d6ddb563b2957db47e55adadbbe6bc51a
Reviewed-on: https://gem5-review.googlesource.com/12265
Reviewed-by: Gabe Black <gabeblack@google.com>
Maintainer: Gabe Black <gabeblack@google.com>
src/systemc/core/process.cc
src/systemc/core/process.hh
src/systemc/core/scheduler.cc