misc: Clean up and complete the gem5<->SystemC-TLM bridge [10/10]
authorChristian Menard <Christian.Menard@tu-dresden.de>
Fri, 10 Feb 2017 00:15:51 +0000 (19:15 -0500)
committerChristian Menard <Christian.Menard@tu-dresden.de>
Fri, 10 Feb 2017 00:15:51 +0000 (19:15 -0500)
commita309c2f343bdebbfde442dcaf1c1812051287fd2
tree4ff01ca11c91b9f1d4d98a1662d0c1dd8bb707c0
parent78e4967b6a98e0819e83f000d3a4de8766802bae
misc: Clean up and complete the gem5<->SystemC-TLM bridge [10/10]

The current TLM bridge only provides a Slave Port that allows the gem5
world to send request to the SystemC world. This patch series refractors
and cleans up the existing code, and adds a Master Port that allows the
SystemC world to send requests to the gem5 world.

This patch:
  * Add callbacks for the Gem5SimControl that are called at before and
  * after simulate()

Reviewed at http://reviews.gem5.org/r/3799/

Signed-off-by: Jason Lowe-Power <jason@lowepower.com>
util/tlm/sim_control.cc
util/tlm/sim_control.hh