summaryrefslogtreecommitdiff
path: root/src/dev/arm/SConscript
diff options
context:
space:
mode:
authorAkash Bagdia <akash.bagdia@arm.com>2014-09-20 17:18:23 -0400
committerAkash Bagdia <akash.bagdia@arm.com>2014-09-20 17:18:23 -0400
commit04e51e5e3e0d2c8af658e5ae29a240a0aac78f6e (patch)
tree009e17167757db81dad20a00ea469815ea0867bf /src/dev/arm/SConscript
parent4422d1322a8ed47bc9d743894ad47d82f33eba7c (diff)
downloadgem5-04e51e5e3e0d2c8af658e5ae29a240a0aac78f6e.tar.xz
energy: Memory-mapped Energy Controller component
This patch provides an Energy Controller device that provides software (driver) access to a DVFS handler. The device is currently residing in the dev/arm tree, but there is nothing inherently ARM specific in the behaviour. It is currently only tested and supported for ARM Linux, hence the location.
Diffstat (limited to 'src/dev/arm/SConscript')
-rw-r--r--src/dev/arm/SConscript3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/dev/arm/SConscript b/src/dev/arm/SConscript
index 419e2f471..ad6a22b55 100644
--- a/src/dev/arm/SConscript
+++ b/src/dev/arm/SConscript
@@ -42,6 +42,7 @@ Import('*')
if env['TARGET_ISA'] == 'arm':
SimObject('Gic.py')
SimObject('RealView.py')
+ SimObject('EnergyCtrl.py')
Source('a9scu.cc')
Source('amba_device.cc')
@@ -59,6 +60,7 @@ if env['TARGET_ISA'] == 'arm':
Source('rtc_pl031.cc')
Source('timer_cpulocal.cc')
Source('vgic.cc')
+ Source('energy_ctrl.cc')
DebugFlag('AMBA')
DebugFlag('HDLcd')
@@ -66,4 +68,5 @@ if env['TARGET_ISA'] == 'arm':
DebugFlag('Pl050')
DebugFlag('GIC')
DebugFlag('RVCTRL')
+ DebugFlag('EnergyCtrl')
DebugFlag('VGIC')