Searched hist:13094 (Results 1 - 1 of 1) sorted by relevance
/gem5/src/systemc/core/ | ||
H A D | kernel.cc | 13094:e74742df378b Sun Aug 26 17:54:00 EDT 2018 Gabe Black <gabeblack@google.com> systemc: Fix where we checked if sc_stop was called durig elaboration. If sc_stop is called during one of the various callbacks, that has defined behavior and will cause the simulation to stop after the current batch of callbacks. We were checking whether sc_stop had been called during one of those batches and killing the system, erroneously assuming that meant it had called during elaboration. This change moves the check to before the callbacks which actually does mean that sc_stop was called during elaboration. Change-Id: I6876305450e52a407acffb9a2f45ee2ae24a9adf Reviewed-on: https://gem5-review.googlesource.com/12266 Reviewed-by: Gabe Black <gabeblack@google.com> Maintainer: Gabe Black <gabeblack@google.com> |
Completed in 9 milliseconds