- kIOServiceBusyStateMask = 0x000000ff,
- kIOServiceBusyMax = 255,
- kIOServiceNeedConfigState = 0x80000000,
- kIOServiceSynchronousState = 0x40000000,
- kIOServiceModuleStallState = 0x20000000,
- kIOServiceBusyWaiterState = 0x10000000,
-
- kIOServiceSyncPubState = 0x08000000,
- kIOServiceConfigState = 0x04000000,
- kIOServiceTermPhase2State = 0x01000000,
- kIOServiceTermPhase3State = 0x00800000,
-};
-
-// options for terminate()
-enum {
- kIOServiceRecursing = 0x00100000,
+ kIOServiceBusyStateMask = 0x000003ff,
+ kIOServiceBusyMax = 1023,
+ kIOServiceNeedConfigState = 0x80000000,
+ kIOServiceSynchronousState = 0x40000000,
+ kIOServiceModuleStallState = 0x20000000,
+ kIOServiceBusyWaiterState = 0x10000000,
+
+ kIOServiceSyncPubState = 0x08000000,
+ kIOServiceConfigState = 0x04000000,
+ kIOServiceStartState = 0x02000000,
+ kIOServiceTermPhase2State = 0x01000000,
+ kIOServiceTermPhase3State = 0x00800000,
+ kIOServiceTermPhase1State = 0x00400000,
+ kIOServiceTerm1WaiterState = 0x00200000,
+ kIOServiceRecursing = 0x00100000,
+ kIOServiceNeedWillTerminate = 0x00080000,
+ kIOServiceWaitDetachState = 0x00040000,
+ kIOServiceConfigRunning = 0x00020000,
+ kIOServiceFinalized = 0x00010000,