/*! @field flags_lock used to control access to response flags array */
IOLock * flags_lock;
+ /*! @field queue_lock used to control access to change note queue */
+ IOLock * queue_lock;
+
/*! @field initial_change true forces first state to be broadcast even if it isn't a change */
bool initial_change;
/*! @field device_active true: there has been device activity since last idle timer expiration */
bool device_active;
+ /*! @field device_active_timestamp time in ticks of last activity */
+ AbsoluteTime device_active_timestamp;
+
/*! @field driverDesire
This is the power state desired by our controlling driver. It is initialized to myCurrentState and is changed
when the controlling driver calls changePowerStateTo. A change in driverDesire may cause a change in ourDesiredPowerState.
/*! @field askingFor
-Used by activityTickle so it doesn't try to raise the device to a lower state than
-what it may have previously requested.
+Not used.
*/
unsigned long askingFor;
/*! @field doNotPowerDown keeps track of any negative responses from notified apps and clients */
bool doNotPowerDown;
+ /*! @field childLock used to serialize scanning the children */
+ IOLock * childLock;
+
+ /*! @field parentLock used to serialize scanning the parents */
+ IOLock * parentLock;
+
+ /*! @field outofbandparameter used to communicate desired function to tellClientsWithResponse().
+ This is used because it avoids changing the signatures of the affected
+ virtual methods. */
+ int outofbandparameter;
+
/*! @function serialize
Serialize protected instance variables for debug output (IORegistryDumper).
*/