kIOServiceConfigState = 0x04000000,
kIOServiceTermPhase2State = 0x01000000,
kIOServiceTermPhase3State = 0x00800000,
+ kIOServiceTermPhase1State = 0x00400000,
+ kIOServiceTerm1WaiterState = 0x00200000
};
// options for terminate()
OSOrderedSet * whence;
OSDictionary * matching;
- IOServiceNotificationHandler handler;
+ IOServiceMatchingNotificationHandler handler;
+ IOServiceNotificationHandler compatHandler;
void * target;
void * ref;
SInt32 priority;
virtual void free();
static void configThread( void );
- static void main( _IOConfigThread * self );
+ static void main( void * arg, wait_result_t result );
};
enum {
-#ifdef LESS_THREAD_CREATE
- kMaxConfigThreads = 4,
-#else
- kMaxConfigThreads = 32,
-#endif
+ kMaxConfigThreads = CONFIG_MAX_THREADS,
};
enum {
public:
static IOService * resources( void );
+ virtual bool init( OSDictionary * dictionary = 0 );
virtual IOWorkLoop * getWorkLoop( ) const;
virtual bool matchPropertyTable( OSDictionary * table );
virtual IOReturn setProperties( OSObject * properties );
extern const OSSymbol * gIOConsoleUsersKey;
extern const OSSymbol * gIOConsoleSessionUIDKey;
+extern const OSSymbol * gIOConsoleSessionAuditIDKey;
extern const OSSymbol * gIOConsoleSessionOnConsoleKey;
extern const OSSymbol * gIOConsoleSessionSecureInputPIDKey;