systemc: Partially implement the scheduler.
authorGabe Black <gabeblack@google.com>
Tue, 3 Jul 2018 23:41:30 +0000 (16:41 -0700)
committerGabe Black <gabeblack@google.com>
Wed, 5 Sep 2018 06:03:24 +0000 (06:03 +0000)
commit0aec777bf2fff0ac61cd36b7c0358dbe9350c784
tree2af532c4eaa5c79ce2aadfa40da8f14c4dbf3f29
parent4bd389c9d0370d67464c2a508381abe326de3bdf
systemc: Partially implement the scheduler.

This change implements the "evaluate" part of the delta cycles, and
sketches out a function to run delta cycles and the initialization
phase. The kernel object now schedules an event at time zero which
runs the initialization phase.

Also, some small places which were stubbed out pending a way to check
the currently running process have been filled in now that that's
being tracked.

Change-Id: I6899569eb0195ff1c059fa4e68e90ef162b2f2df
Reviewed-on: https://gem5-review.googlesource.com/11709
Reviewed-by: Gabe Black <gabeblack@google.com>
Maintainer: Gabe Black <gabeblack@google.com>
13 files changed:
src/systemc/core/SConscript
src/systemc/core/kernel.cc
src/systemc/core/kernel.hh
src/systemc/core/list.hh [new file with mode: 0644]
src/systemc/core/object.cc
src/systemc/core/process.cc
src/systemc/core/process.hh
src/systemc/core/process_types.cc [new file with mode: 0644]
src/systemc/core/process_types.hh [new file with mode: 0644]
src/systemc/core/sc_module.cc
src/systemc/core/sc_process_handle.cc
src/systemc/core/scheduler.cc [new file with mode: 0644]
src/systemc/core/scheduler.hh [new file with mode: 0644]