CPU: Fix a case where timing simple cpu faults can nest.
Review Request #670 - Created May 2, 2011 and submitted
| Information | |
|---|---|
| Ali Saidi | |
| gem5 | |
| Reviewers | |
| Default | |
| ali, gblack, nate, stever | |
CPU: Fix a case where timing simple cpu faults can nest. If we fault, change the state to faulting so that we don't fault again in the same cycle.
Posted (May 3, 2011, 4:13 a.m.)
Could you please walk through when two faults will happen at the same time and why that's a problem?
-
src/cpu/simple/timing.cc (Diff revision 1) -
The reschedule function (with "always" set) will do the de/rescheduling for you all in one shot.
