]> git.saurik.com Git - apple/xnu.git/blob - iokit/IOKit/IOKitKeys.h
b0ecbf899844ab126d74c243f0be4ef653ff7c5d
[apple/xnu.git] / iokit / IOKit / IOKitKeys.h
1 /*
2 * Copyright (c) 1998-2000 Apple Computer, Inc. All rights reserved.
3 *
4 * @APPLE_LICENSE_HEADER_START@
5 *
6 * The contents of this file constitute Original Code as defined in and
7 * are subject to the Apple Public Source License Version 1.1 (the
8 * "License"). You may not use this file except in compliance with the
9 * License. Please obtain a copy of the License at
10 * http://www.apple.com/publicsource and read it before using this file.
11 *
12 * This Original Code and all software distributed under the License are
13 * distributed on an "AS IS" basis, WITHOUT WARRANTY OF ANY KIND, EITHER
14 * EXPRESS OR IMPLIED, AND APPLE HEREBY DISCLAIMS ALL SUCH WARRANTIES,
15 * INCLUDING WITHOUT LIMITATION, ANY WARRANTIES OF MERCHANTABILITY,
16 * FITNESS FOR A PARTICULAR PURPOSE OR NON-INFRINGEMENT. Please see the
17 * License for the specific language governing rights and limitations
18 * under the License.
19 *
20 * @APPLE_LICENSE_HEADER_END@
21 */
22 /*
23 * Copyright (c) 1999 Apple Computer, Inc. All rights reserved.
24 *
25 * Common symbol definitions for IOKit.
26 *
27 * HISTORY
28 *
29 */
30
31
32 #ifndef _IOKIT_IOKITKEYS_H
33 #define _IOKIT_IOKITKEYS_H
34
35 // properties found in the registry root
36 #define kIOKitBuildVersionKey "IOKitBuildVersion"
37 #define kIOKitDiagnosticsKey "IOKitDiagnostics"
38 // a dictionary keyed by plane name
39 #define kIORegistryPlanesKey "IORegistryPlanes"
40 #define kIOCatalogueKey "IOCatalogue"
41
42 // registry plane names
43 #define kIOServicePlane "IOService"
44 #define kIOPowerPlane "IOPower"
45 #define kIODeviceTreePlane "IODeviceTree"
46 #define kIOAudioPlane "IOAudio"
47 #define kIOFireWirePlane "IOFireWire"
48 #define kIOUSBPlane "IOUSB"
49
50 // IOService class name
51 #define kIOServiceClass "IOService"
52
53 // IOResources class name
54 #define kIOResourcesClass "IOResources"
55
56 // IOService driver probing property names
57 #define kIOClassKey "IOClass"
58 #define kIOProbeScoreKey "IOProbeScore"
59 #define kIOKitDebugKey "IOKitDebug"
60
61 // IOService matching property names
62 #define kIOProviderClassKey "IOProviderClass"
63 #define kIONameMatchKey "IONameMatch"
64 #define kIOPropertyMatchKey "IOPropertyMatch"
65 #define kIOPathMatchKey "IOPathMatch"
66 #define kIOLocationMatchKey "IOLocationMatch"
67 #define kIOResourceMatchKey "IOResourceMatch"
68 #define kIOMatchedServiceCountKey "IOMatchedServiceCountMatch"
69
70 #define kIONameMatchedKey "IONameMatched"
71
72 #define kIOMatchCategoryKey "IOMatchCategory"
73 #define kIODefaultMatchCategoryKey "IODefaultMatchCategory"
74
75 // IOService default user client class, for loadable user clients
76 #define kIOUserClientClassKey "IOUserClientClass"
77
78 // IOService notification types
79 #define kIOPublishNotification "IOServicePublish"
80 #define kIOFirstPublishNotification "IOServiceFirstPublish"
81 #define kIOMatchedNotification "IOServiceMatched"
82 #define kIOFirstMatchNotification "IOServiceFirstMatch"
83 #define kIOTerminatedNotification "IOServiceTerminate"
84
85 // IOService interest notification types
86 #define kIOGeneralInterest "IOGeneralInterest"
87 #define kIOBusyInterest "IOBusyInterest"
88 #define kIOAppPowerStateInterest "IOAppPowerStateInterest"
89 #define kIOPriorityPowerStateInterest "IOPriorityPowerStateInterest"
90
91 // IOService interest notification types
92 #define kIOCFPlugInTypesKey "IOCFPlugInTypes"
93
94 // properties found in services that implement command pooling
95 #define kIOCommandPoolSizeKey "IOCommandPoolSize" // (OSNumber)
96
97 // properties found in services that have transfer constraints
98 #define kIOMaximumBlockCountReadKey "IOMaximumBlockCountRead" // (OSNumber)
99 #define kIOMaximumBlockCountWriteKey "IOMaximumBlockCountWrite" // (OSNumber)
100 #define kIOMaximumSegmentCountReadKey "IOMaximumSegmentCountRead" // (OSNumber)
101 #define kIOMaximumSegmentCountWriteKey "IOMaximumSegmentCountWrite" // (OSNumber)
102
103 #endif /* ! _IOKIT_IOKITKEYS_H */
104