#defines



ACK_TIMER_PERIOD

#define ACK_TIMER_PERIOD 1000000

When an IOService is waiting for acknowledgement to a power state change notification from an interested driver or the controlling driver its ack timer is ticking every millisecond. (1000000 nanoseconds are one millisecond).


State machine states

#define IOPMour_prechange_1 1
#define IOPMour_prechange_2 2
#define IOPMour_prechange_3 3
#define IOPMour_prechange_4 4
#define IOPMparent_prechange_down_3 5
#define IOPMparent_prechange_down_4 6
#define IOPMparent_prechange_down_5 7
#define IOPMparent_postchange_down_1 8
#define IOPMparent_postchange_down_2 9
#define IOPMparent_prechange_up_1 10
#define IOPMparent_postchange_up_1 11
#define IOPMparent_postchange_up_4 12
#define IOPMparent_postchange_up_5 13
#define IOPMparent_postchange_up_6 14
#define IOPMparent_postchange_null 15
#define IOPMfinished 16

The current change note is processed by a state machine. Inputs are acks from interested parties, ack from the controlling driver, ack timeouts, settle timeout, and powerStateDidChange from the parent.


© 2000 Apple Computer, Inc. — (Last Updated 2/23/2000)