diff options
author | Gabe Black <gabeblack@google.com> | 2018-05-31 14:50:41 -0700 |
---|---|---|
committer | Gabe Black <gabeblack@google.com> | 2018-08-15 01:26:16 +0000 |
commit | 32ffafe2f4bff69a780eb9062491daae3638a544 (patch) | |
tree | babd9450914d4ea8c5c77b949187c8eb4d65174b /src/sim | |
parent | 79e8571999ee0df1ec124c385e48c79e3b8513ef (diff) | |
download | gem5-32ffafe2f4bff69a780eb9062491daae3638a544.tar.xz |
systemc: Make sc_main run in its own fiber.
The fiber will run until either sc_main returns, or until sc_start is
called. If sc_start is called, then the fiber will only be paused and
waiting for simulation cycles to be run by gem5. Once sc_pause and
sc_stop are implemented, if those are called the sc_main fiber will
be re-entered and allowed to run further towards completion.
Change-Id: I4df94f4f6fed8d49471732619a203d734d9a13a6
Reviewed-on: https://gem5-review.googlesource.com/10849
Reviewed-by: Gabe Black <gabeblack@google.com>
Maintainer: Gabe Black <gabeblack@google.com>
Diffstat (limited to 'src/sim')
0 files changed, 0 insertions, 0 deletions