*/
/**
+ * Please refer to TEP 115 for more information about this component and its
+ * intended use.<br><br>
*
* This component povides a power management policy for managing the power
* states of non-virtualized devices. Non-virtualized devices are shared
* before shutting down the device once it is free.
*
* @author Kevin Klues (klueska@cs.wustl.edu)
- * @see Please refer to TEP 115 for more information about this component and its
- * intended use.
*/
generic configuration StdControlDeferredPowerManagerC(uint32_t delay)
{
- provides {
- interface Init;
- }
uses {
interface StdControl;
interface PowerDownCleanup;
- interface Init as ArbiterInit;
- interface ResourceController;
+ interface ResourceDefaultOwner;
interface ArbiterInfo;
}
}
implementation {
components new TimerMilliC(),
new DeferredPowerManagerP(delay) as PowerManager;
-
- Init = PowerManager;
PowerManager.StdControl = StdControl;
PowerManager.PowerDownCleanup = PowerDownCleanup;
- PowerManager.ArbiterInit = ArbiterInit;
- PowerManager.ResourceController = ResourceController;
+ PowerManager.ResourceDefaultOwner = ResourceDefaultOwner;
PowerManager.ArbiterInfo = ArbiterInfo;
PowerManager.TimerMilli -> TimerMilliC;