cpu: Fix timing CPU drain check
Review Request #1967 - Created Aug. 18, 2013 and submitted
| Information | |
|---|---|
| Andreas Hansson | |
| gem5 | |
| default | |
| Reviewers | |
| Default | |
Changeset 9833:926cfdcf6836 --------------------------- cpu: Fix timing CPU drain check This patch modifies the SimpleTimingCPU drain check to also consider the fetch event. Previously, there was an assumption that there is never a fetch event scheduled if the CPU is not executing microcode. However, when a context is activated, a fetch even is scheduled, and microPC() is zero.
All regressions pass. The other patch that triggered the assert now runs without issues.
Ship It!
