]>
git.saurik.com Git - apple/xnu.git/blob - iokit/IOKit/IOKitKeys.h
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) 1999 Apple Computer, Inc. All rights reserved.
28 * Common symbol definitions for IOKit.
35 #ifndef _IOKIT_IOKITKEYS_H
36 #define _IOKIT_IOKITKEYS_H
38 // properties found in the registry root
39 #define kIOKitBuildVersionKey "IOKitBuildVersion"
40 #define kIOKitDiagnosticsKey "IOKitDiagnostics"
41 // a dictionary keyed by plane name
42 #define kIORegistryPlanesKey "IORegistryPlanes"
43 #define kIOCatalogueKey "IOCatalogue"
45 // registry plane names
46 #define kIOServicePlane "IOService"
47 #define kIOPowerPlane "IOPower"
48 #define kIODeviceTreePlane "IODeviceTree"
49 #define kIOAudioPlane "IOAudio"
50 #define kIOFireWirePlane "IOFireWire"
51 #define kIOUSBPlane "IOUSB"
53 // IOService class name
54 #define kIOServiceClass "IOService"
56 // IOResources class name
57 #define kIOResourcesClass "IOResources"
59 // IOService driver probing property names
60 #define kIOClassKey "IOClass"
61 #define kIOProbeScoreKey "IOProbeScore"
62 #define kIOKitDebugKey "IOKitDebug"
64 // IOService matching property names
65 #define kIOProviderClassKey "IOProviderClass"
66 #define kIONameMatchKey "IONameMatch"
67 #define kIOPropertyMatchKey "IOPropertyMatch"
68 #define kIOPathMatchKey "IOPathMatch"
69 #define kIOLocationMatchKey "IOLocationMatch"
70 #define kIOParentMatchKey "IOParentMatch"
71 #define kIOResourceMatchKey "IOResourceMatch"
72 #define kIOMatchedServiceCountKey "IOMatchedServiceCountMatch"
74 #define kIONameMatchedKey "IONameMatched"
76 #define kIOMatchCategoryKey "IOMatchCategory"
77 #define kIODefaultMatchCategoryKey "IODefaultMatchCategory"
79 // IOService default user client class, for loadable user clients
80 #define kIOUserClientClassKey "IOUserClientClass"
82 // IOService notification types
83 #define kIOPublishNotification "IOServicePublish"
84 #define kIOFirstPublishNotification "IOServiceFirstPublish"
85 #define kIOMatchedNotification "IOServiceMatched"
86 #define kIOFirstMatchNotification "IOServiceFirstMatch"
87 #define kIOTerminatedNotification "IOServiceTerminate"
89 // IOService interest notification types
90 #define kIOGeneralInterest "IOGeneralInterest"
91 #define kIOBusyInterest "IOBusyInterest"
92 #define kIOAppPowerStateInterest "IOAppPowerStateInterest"
93 #define kIOPriorityPowerStateInterest "IOPriorityPowerStateInterest"
95 // IOService interest notification types
96 #define kIOCFPlugInTypesKey "IOCFPlugInTypes"
98 // properties found in services that implement command pooling
99 #define kIOCommandPoolSizeKey "IOCommandPoolSize" // (OSNumber)
101 // properties found in services that have transfer constraints
102 #define kIOMaximumBlockCountReadKey "IOMaximumBlockCountRead" // (OSNumber)
103 #define kIOMaximumBlockCountWriteKey "IOMaximumBlockCountWrite" // (OSNumber)
104 #define kIOMaximumByteCountReadKey "IOMaximumByteCountRead" // (OSNumber)
105 #define kIOMaximumByteCountWriteKey "IOMaximumByteCountWrite" // (OSNumber)
106 #define kIOMaximumSegmentCountReadKey "IOMaximumSegmentCountRead" // (OSNumber)
107 #define kIOMaximumSegmentCountWriteKey "IOMaximumSegmentCountWrite" // (OSNumber)
108 #define kIOMaximumSegmentByteCountReadKey "IOMaximumSegmentByteCountRead" // (OSNumber)
109 #define kIOMaximumSegmentByteCountWriteKey "IOMaximumSegmentByteCountWrite" // (OSNumber)
111 // properties found in services that wish to describe an icon
115 // CFBundleIdentifier = "com.example.driver.example";
116 // IOBundleResourceFile = "example.icns";
119 // where IOBundleResourceFile is the filename of the resource
121 #define kIOIconKey "IOIcon" // (OSDictionary)
122 #define kIOBundleResourceFileKey "IOBundleResourceFile" // (OSString)
124 #define kIOBusBadgeKey "IOBusBadge" // (OSDictionary)
125 #define kIODeviceIconKey "IODeviceIcon" // (OSDictionary)
127 #endif /* ! _IOKIT_IOKITKEYS_H */