diff options
author | Andreas Sandberg <andreas.sandberg@arm.com> | 2017-02-27 13:17:51 +0000 |
---|---|---|
committer | Andreas Sandberg <andreas.sandberg@arm.com> | 2017-03-07 11:44:32 +0000 |
commit | c07a2d68f34ab4cef8b3ed4d079316d2b4306244 (patch) | |
tree | b37dac9e4dcf801aee822cd1a1bd3320437e505d /src/sim/power/thermal_entity.hh | |
parent | 846a17308c424bf1203d6c29586fdcd7d7047493 (diff) | |
download | gem5-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_entity.hh')
-rw-r--r-- | src/sim/power/thermal_entity.hh | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/sim/power/thermal_entity.hh b/src/sim/power/thermal_entity.hh index fb703961f..5c0ab3045 100644 --- a/src/sim/power/thermal_entity.hh +++ b/src/sim/power/thermal_entity.hh @@ -40,6 +40,8 @@ #ifndef __SIM_THERMAL_ENTITY_HH__ #define __SIM_THERMAL_ENTITY_HH__ +#include "sim/sim_object.hh" + class LinearEquation; class ThermalNode; |