power: Avoid forward declarations that confuse wrappers
authorAndreas Sandberg <andreas.sandberg@arm.com>
Mon, 27 Feb 2017 13:17:51 +0000 (13:17 +0000)
committerAndreas Sandberg <andreas.sandberg@arm.com>
Tue, 7 Mar 2017 11:44:32 +0000 (11:44 +0000)
commitc07a2d68f34ab4cef8b3ed4d079316d2b4306244
treeb37dac9e4dcf801aee822cd1a1bd3320437e505d
parent846a17308c424bf1203d6c29586fdcd7d7047493
power: Avoid forward declarations that confuse wrappers

The Python wrappers get confused by the forward declarations in the
power framework. This changeset restructures the code slightly to
avoid the troublesome forward declarations.

Change-Id: Id8c93224f1988edb5fdf9d3abc6237f2f688c02d
Signed-off-by: Andreas Sandberg <andreas.sandberg@arm.com>
Reviewed-by: Andreas Hansson <andreas.hansson@arm.com>
Reviewed-by: Curtis Dunham <curtis.dunham@arm.com>
Reviewed-by: Sascha Bischoff <sascha.bischoff@arm.com>
Reviewed-on: https://gem5-review.googlesource.com/2227
Reviewed-by: Pierre-Yves PĂ©neau <pierre-yves.peneau@lirmm.fr>
Reviewed-by: Jason Lowe-Power <jason@lowepower.com>
Maintainer: Jason Lowe-Power <jason@lowepower.com>
src/sim/power/SConscript
src/sim/power/ThermalModel.py
src/sim/power/thermal_domain.hh
src/sim/power/thermal_entity.hh
src/sim/power/thermal_model.cc
src/sim/power/thermal_model.hh
src/sim/power/thermal_node.cc [new file with mode: 0644]
src/sim/power/thermal_node.hh [new file with mode: 0644]