cpu: stop scheduling suspended threads in all stages of MinorCPU
authorTuan Ta <qtt2@cornell.edu>
Mon, 2 Apr 2018 20:22:01 +0000 (16:22 -0400)
committerTuan Ta <qtt2@cornell.edu>
Fri, 8 Feb 2019 15:25:30 +0000 (15:25 +0000)
commit6a6668bbc4b038b98eb3ee64ffb034719316afd9
treed860bdbff78778d58131ebd5ca34eb26c1f0fd51
parente74921edd5c5c12f121175d59852cd1752c598aa
cpu: stop scheduling suspended threads in all stages of MinorCPU

This patch makes suspended threads non-schedulable in Fetch1, Fetch2,
Decode and Execute stages in MinorCPU.

Change-Id: Ie79857e13b7b782d9c58c32310993a132b609cf9
Reviewed-on: https://gem5-review.googlesource.com/c/9625
Reviewed-by: Jason Lowe-Power <jason@lowepower.com>
Reviewed-by: Giacomo Gabrielli <giacomo.gabrielli@gmail.com>
Maintainer: Jason Lowe-Power <jason@lowepower.com>
src/cpu/minor/decode.cc
src/cpu/minor/execute.cc
src/cpu/minor/fetch2.cc