Files
gem5/src/cpu
Tuan Ta 642a563cf0 cpu: Prevent suspended TimingSimple CPUs from fetching next instructions
In TimingSimpleCPU model, when a CPU is suspended by a syscall (e.g.,
futex(FUTEX_WAIT)), the CPU waits for another CPU to wake it up
(e.g., FUTEX_WAKE operation). While staying Idle, the suspended CPU
should not try to fetch next instructions after the syscall.

This patch added a status check before a CPU schedule a fetch event
after a fault is handled.

Change-Id: I0cc953135686c9b35afe94942aa1d0b245ec60a2
Reviewed-on: https://gem5-review.googlesource.com/8181
Reviewed-by: Andreas Sandberg <andreas.sandberg@arm.com>
Maintainer: Brandon Potter <Brandon.Potter@amd.com>
2018-06-14 22:42:16 +00:00
..
2011-04-15 10:44:06 -07:00
2015-09-30 15:21:55 -05:00
2015-09-30 15:21:55 -05:00
2011-04-15 10:44:14 -07:00
2016-02-06 17:21:18 -08:00
2014-07-23 16:09:04 -05:00