systemc: When resetting a process, clear suspended ready.
authorGabe Black <gabeblack@google.com>
Sat, 6 Oct 2018 11:31:04 +0000 (04:31 -0700)
committerGabe Black <gabeblack@google.com>
Tue, 16 Oct 2018 01:04:24 +0000 (01:04 +0000)
commit82dd3c1d619ae0ab777685999da9a81e740368f5
tree9f25815af51658ec3fdef71d7b1212720d291d1e
parent93b7aa1a4ece4f72024b63a07bea1c27b66cedcf
systemc: When resetting a process, clear suspended ready.

When resetting a process which is ready pending coming out of suspend,
clear that state since the process is about to run in service of the
reset.

Change-Id: Iade3ec4b2f3eadd372cce456dca66850d37ed5fd
Reviewed-on: https://gem5-review.googlesource.com/c/13316
Reviewed-by: Gabe Black <gabeblack@google.com>
Maintainer: Gabe Black <gabeblack@google.com>
src/systemc/core/process.cc