]>
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 * 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.
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
20 * @APPLE_LICENSE_HEADER_END@
23 * Copyright (c) 1999 Apple Computer, Inc. All rights reserved.
25 * Common symbol definitions for IOKit.
32 #ifndef _IOKIT_IOKITKEYS_H
33 #define _IOKIT_IOKITKEYS_H
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"
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"
50 // IOService class name
51 #define kIOServiceClass "IOService"
53 // IOResources class name
54 #define kIOResourcesClass "IOResources"
56 // IOService driver probing property names
57 #define kIOClassKey "IOClass"
58 #define kIOProbeScoreKey "IOProbeScore"
59 #define kIOKitDebugKey "IOKitDebug"
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 kIOParentMatchKey "IOParentMatch"
68 #define kIOResourceMatchKey "IOResourceMatch"
69 #define kIOMatchedServiceCountKey "IOMatchedServiceCountMatch"
71 #define kIONameMatchedKey "IONameMatched"
73 #define kIOMatchCategoryKey "IOMatchCategory"
74 #define kIODefaultMatchCategoryKey "IODefaultMatchCategory"
76 // IOService default user client class, for loadable user clients
77 #define kIOUserClientClassKey "IOUserClientClass"
79 // IOService notification types
80 #define kIOPublishNotification "IOServicePublish"
81 #define kIOFirstPublishNotification "IOServiceFirstPublish"
82 #define kIOMatchedNotification "IOServiceMatched"
83 #define kIOFirstMatchNotification "IOServiceFirstMatch"
84 #define kIOTerminatedNotification "IOServiceTerminate"
86 // IOService interest notification types
87 #define kIOGeneralInterest "IOGeneralInterest"
88 #define kIOBusyInterest "IOBusyInterest"
89 #define kIOAppPowerStateInterest "IOAppPowerStateInterest"
90 #define kIOPriorityPowerStateInterest "IOPriorityPowerStateInterest"
92 // IOService interest notification types
93 #define kIOCFPlugInTypesKey "IOCFPlugInTypes"
95 // properties found in services that implement command pooling
96 #define kIOCommandPoolSizeKey "IOCommandPoolSize" // (OSNumber)
98 // properties found in services that have transfer constraints
99 #define kIOMaximumBlockCountReadKey "IOMaximumBlockCountRead" // (OSNumber)
100 #define kIOMaximumBlockCountWriteKey "IOMaximumBlockCountWrite" // (OSNumber)
101 #define kIOMaximumByteCountReadKey "IOMaximumByteCountRead" // (OSNumber)
102 #define kIOMaximumByteCountWriteKey "IOMaximumByteCountWrite" // (OSNumber)
103 #define kIOMaximumSegmentCountReadKey "IOMaximumSegmentCountRead" // (OSNumber)
104 #define kIOMaximumSegmentCountWriteKey "IOMaximumSegmentCountWrite" // (OSNumber)
105 #define kIOMaximumSegmentByteCountReadKey "IOMaximumSegmentByteCountRead" // (OSNumber)
106 #define kIOMaximumSegmentByteCountWriteKey "IOMaximumSegmentByteCountWrite" // (OSNumber)
108 // properties found in services that wish to describe an icon
112 // CFBundleIdentifier = "com.example.driver.example";
113 // IOBundleResourceFile = "example.icns";
116 // where IOBundleResourceFile is the filename of the resource
118 #define kIOIconKey "IOIcon" // (OSDictionary)
119 #define kIOBundleResourceFileKey "IOBundleResourceFile" // (OSString)
121 #define kIOBusBadgeKey "IOBusBadge" // (OSDictionary)
122 #define kIODeviceIconKey "IODeviceIcon" // (OSDictionary)
124 #endif /* ! _IOKIT_IOKITKEYS_H */