2 * Copyright (c) 1998-2000 Apple Computer, Inc. All rights reserved.
4 * @APPLE_LICENSE_HEADER_START@
6 * Copyright (c) 1999-2003 Apple Computer, Inc. All Rights Reserved.
8 * This file contains Original Code and/or Modifications of Original Code
9 * as defined in and that are subject to the Apple Public Source License
10 * Version 2.0 (the 'License'). You may not use this file except in
11 * compliance with the License. Please obtain a copy of the License at
12 * http://www.opensource.apple.com/apsl/ and read it before using this
15 * The Original Code and all software distributed under the License are
16 * distributed on an 'AS IS' basis, WITHOUT WARRANTY OF ANY KIND, EITHER
17 * EXPRESS OR IMPLIED, AND APPLE HEREBY DISCLAIMS ALL SUCH WARRANTIES,
18 * INCLUDING WITHOUT LIMITATION, ANY WARRANTIES OF MERCHANTABILITY,
19 * FITNESS FOR A PARTICULAR PURPOSE, QUIET ENJOYMENT OR NON-INFRINGEMENT.
20 * Please see the License for the specific language governing rights and
21 * limitations under the License.
23 * @APPLE_LICENSE_HEADER_END@
26 * Copyright (c) 1998 Apple Computer, Inc. All rights reserved.
33 * Internal definitions used between the iokit user library and
37 #ifndef _IOKIT_IOKITSERVER_H
38 #define _IOKIT_IOKITSERVER_H
40 #include <IOKit/IOTypes.h>
41 #include <IOKit/IOKitKeys.h>
42 #include <IOKit/OSMessageNotification.h>
47 #include <mach/kmod.h>
55 @constant kIOServiceMatching
56 @constant kIOBSDNameMatching
57 @constant kIOOFPathMatching
60 kIOServiceMatching
= 100,
61 kIOBSDNameMatching
= 101,
62 kIOOFPathMatching
= 102,
65 // IOCatalogueSendData
67 @enum IOCatalogueSendData user-client flags.
68 @constant kIOCatalogAddDrivers Signals a call to the addDrivers function in IOCatalogue.
69 @constant kIOCatalogAddDriversNoMatch Signals a call to the addDrivers function in IOCatalogue but does not start a matching thread.
70 @constant kIOCatalogRemoveDrivers Signals a call to the removeDrivers function in IOCatalogue.
71 @constant kIOCatalogRemoveDriversNoMatch Signals a call to the removedrivers function in IOCatalogue but does not start a matching thread.
72 @constant kIOCatalogStartMatching Signals the IOCatalogue to start an IOService matching thread.
75 kIOCatalogAddDrivers
= 1,
76 kIOCatalogAddDriversNoMatch
,
77 kIOCatalogRemoveDrivers
,
78 kIOCatalogRemoveDriversNoMatch
,
79 kIOCatalogStartMatching
,
80 kIOCatalogRemoveKernelLinker
,
85 @enum IOCatalogueGetData user-client flags
86 @constant kIOCatalogGetContents Returns a snapshot of the database to the caller.
89 kIOCatalogGetContents
= 1,
94 @enum IOCatalogueReset user-client flag
95 @constant kIOCatalogResetDefault Removes all entries from IOCatalogue except those used for booting the system.
98 kIOCatalogResetDefault
= 1,
101 // IOCatalogueTerminate
103 @enum IOCatalogueTerminate user-client flags.
104 @constant kIOCatalogModuleUnload Terminates all services which depend on a particular module and unloads the module.
105 @constant kIOCatalogModuleTerminate Terminates all services which depend on a particular module but does not unload the module.
106 @constant kIOCatalogServiceTerminate Terminates a particular service by name.
109 kIOCatalogModuleUnload
= 1,
110 kIOCatalogModuleTerminate
,
111 kIOCatalogServiceTerminate
,
115 kIOCatalogMatchIdle
= KMOD_IOKIT_END_RANGE_PACKET
- 0x10
118 #endif /* ! _IOKIT_IOKITSERVER_H */