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>
This commit is contained in:
Gabe Black
2018-07-03 16:41:30 -07:00
parent 4bd389c9d0
commit 0aec777bf2
13 changed files with 559 additions and 73 deletions

View File

@@ -34,6 +34,8 @@ if env['USE_SYSTEMC']:
Source('module.cc')
Source('object.cc')
Source('process.cc')
Source('process_types.cc')
Source('scheduler.cc')
Source('sc_attr.cc')
Source('sc_event.cc')