energy: Small extentions and fixes for DVFS handler
authorStephan Diestelhorst <stephan.diestelhorst@arm.com>
Mon, 16 Jun 2014 13:59:44 +0000 (14:59 +0100)
committerStephan Diestelhorst <stephan.diestelhorst@arm.com>
Mon, 16 Jun 2014 13:59:44 +0000 (14:59 +0100)
commit4422d1322a8ed47bc9d743894ad47d82f33eba7c
tree54aa0efe2365af7d41d41e78cba3dae9434f13ee
parentbf238470726b4cc5c0b34fcb349d767726fe53bc
energy: Small extentions and fixes for DVFS handler

These additions allow easier interoperability with and querying from an
additional controller which will be in a separate patch.  Also adding warnings
for changing the enabled state of the handler across checkpoint / resume and
deviating from the state in the configuration.

Contributed-by: Akash Bagdia <akash.bagdia@arm.com>
src/sim/clock_domain.cc
src/sim/clock_domain.hh
src/sim/dvfs_handler.cc
src/sim/dvfs_handler.hh
src/sim/voltage_domain.cc
src/sim/voltage_domain.hh