summaryrefslogtreecommitdiff
path: root/src/sim/power/thermal_domain.hh
diff options
context:
space:
mode:
authorAndreas Sandberg <andreas.sandberg@arm.com>2017-02-27 13:17:51 +0000
committerAndreas Sandberg <andreas.sandberg@arm.com>2017-03-07 11:44:32 +0000
commitc07a2d68f34ab4cef8b3ed4d079316d2b4306244 (patch)
treeb37dac9e4dcf801aee822cd1a1bd3320437e505d /src/sim/power/thermal_domain.hh
parent846a17308c424bf1203d6c29586fdcd7d7047493 (diff)
downloadgem5-c07a2d68f34ab4cef8b3ed4d079316d2b4306244.tar.xz
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>
Diffstat (limited to 'src/sim/power/thermal_domain.hh')
-rw-r--r--src/sim/power/thermal_domain.hh4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/sim/power/thermal_domain.hh b/src/sim/power/thermal_domain.hh
index f385994f8..af59af5cc 100644
--- a/src/sim/power/thermal_domain.hh
+++ b/src/sim/power/thermal_domain.hh
@@ -45,10 +45,10 @@
#include "base/statistics.hh"
#include "params/ThermalDomain.hh"
#include "sim/power/thermal_entity.hh"
+#include "sim/power/thermal_node.hh"
#include "sim/sim_object.hh"
+#include "sim/sub_system.hh"
-class SubSystem;
-class ThermalNode;
template <class T> class ProbePointArg;
/**