systemc: Implement channel updates and rework the scheduler.

This change implements channel updates, and also reworks the scheduler
to delegate more to the gem5 event queue by taking advantage of
event priorities to ensure things happen in the right order. There's
a lengthy comment in scheduler.hh describes how that all works.

Change-Id: I5dee71b86b2e612bb720a4429f3a72e4b7c6d01f
Reviewed-on: https://gem5-review.googlesource.com/11710
Reviewed-by: Gabe Black <gabeblack@google.com>
Maintainer: Gabe Black <gabeblack@google.com>
This commit is contained in:
Gabe Black
2018-07-04 22:41:29 -07:00
parent 0aec777bf2
commit 7088d69ab5
8 changed files with 339 additions and 109 deletions

View File

@@ -30,6 +30,7 @@ Import('*')
if env['USE_SYSTEMC']:
SimObject('SystemC.py')
Source('channel.cc')
Source('kernel.cc')
Source('module.cc')
Source('object.cc')