]>
git.saurik.com Git - apple/xnu.git/blob - iokit/IOKit/IOKitKeys.h
3cc5a5a2571cdd3707830805443cbd975a7579f6
2 * Copyright (c) 1998-2000 Apple Computer, Inc. All rights reserved.
4 * @APPLE_LICENSE_OSREFERENCE_HEADER_START@
6 * This file contains Original Code and/or Modifications of Original Code
7 * as defined in and that are subject to the Apple Public Source License
8 * Version 2.0 (the 'License'). You may not use this file except in
9 * compliance with the License. The rights granted to you under the
10 * License may not be used to create, or enable the creation or
11 * redistribution of, unlawful or unlicensed copies of an Apple operating
12 * system, or to circumvent, violate, or enable the circumvention or
13 * violation of, any terms of an Apple operating system software license
16 * Please obtain a copy of the License at
17 * http://www.opensource.apple.com/apsl/ and read it before using this
20 * The Original Code and all software distributed under the License are
21 * distributed on an 'AS IS' basis, WITHOUT WARRANTY OF ANY KIND, EITHER
22 * EXPRESS OR IMPLIED, AND APPLE HEREBY DISCLAIMS ALL SUCH WARRANTIES,
23 * INCLUDING WITHOUT LIMITATION, ANY WARRANTIES OF MERCHANTABILITY,
24 * FITNESS FOR A PARTICULAR PURPOSE, QUIET ENJOYMENT OR NON-INFRINGEMENT.
25 * Please see the License for the specific language governing rights and
26 * limitations under the License.
28 * @APPLE_LICENSE_OSREFERENCE_HEADER_END@
31 * Copyright (c) 1999 Apple Computer, Inc. All rights reserved.
33 * Common symbol definitions for IOKit.
40 #ifndef _IOKIT_IOKITKEYS_H
41 #define _IOKIT_IOKITKEYS_H
43 // properties found in the registry root
44 #define kIOKitBuildVersionKey "IOKitBuildVersion"
45 #define kIOKitDiagnosticsKey "IOKitDiagnostics"
46 // a dictionary keyed by plane name
47 #define kIORegistryPlanesKey "IORegistryPlanes"
48 #define kIOCatalogueKey "IOCatalogue"
50 // registry plane names
51 #define kIOServicePlane "IOService"
52 #define kIOPowerPlane "IOPower"
53 #define kIODeviceTreePlane "IODeviceTree"
54 #define kIOAudioPlane "IOAudio"
55 #define kIOFireWirePlane "IOFireWire"
56 #define kIOUSBPlane "IOUSB"
58 // IOService class name
59 #define kIOServiceClass "IOService"
61 // IOResources class name
62 #define kIOResourcesClass "IOResources"
64 // IOService driver probing property names
65 #define kIOClassKey "IOClass"
66 #define kIOProbeScoreKey "IOProbeScore"
67 #define kIOKitDebugKey "IOKitDebug"
69 // IOService matching property names
70 #define kIOProviderClassKey "IOProviderClass"
71 #define kIONameMatchKey "IONameMatch"
72 #define kIOPropertyMatchKey "IOPropertyMatch"
73 #define kIOPathMatchKey "IOPathMatch"
74 #define kIOLocationMatchKey "IOLocationMatch"
75 #define kIOParentMatchKey "IOParentMatch"
76 #define kIOResourceMatchKey "IOResourceMatch"
77 #define kIOMatchedServiceCountKey "IOMatchedServiceCountMatch"
79 #define kIONameMatchedKey "IONameMatched"
81 #define kIOMatchCategoryKey "IOMatchCategory"
82 #define kIODefaultMatchCategoryKey "IODefaultMatchCategory"
84 // IOService default user client class, for loadable user clients
85 #define kIOUserClientClassKey "IOUserClientClass"
87 // IOService notification types
88 #define kIOPublishNotification "IOServicePublish"
89 #define kIOFirstPublishNotification "IOServiceFirstPublish"
90 #define kIOMatchedNotification "IOServiceMatched"
91 #define kIOFirstMatchNotification "IOServiceFirstMatch"
92 #define kIOTerminatedNotification "IOServiceTerminate"
94 // IOService interest notification types
95 #define kIOGeneralInterest "IOGeneralInterest"
96 #define kIOBusyInterest "IOBusyInterest"
97 #define kIOAppPowerStateInterest "IOAppPowerStateInterest"
98 #define kIOPriorityPowerStateInterest "IOPriorityPowerStateInterest"
100 // IOService interest notification types
101 #define kIOCFPlugInTypesKey "IOCFPlugInTypes"
103 // properties found in services that implement command pooling
104 #define kIOCommandPoolSizeKey "IOCommandPoolSize" // (OSNumber)
106 // properties found in services that have transfer constraints
107 #define kIOMaximumBlockCountReadKey "IOMaximumBlockCountRead" // (OSNumber)
108 #define kIOMaximumBlockCountWriteKey "IOMaximumBlockCountWrite" // (OSNumber)
109 #define kIOMaximumByteCountReadKey "IOMaximumByteCountRead" // (OSNumber)
110 #define kIOMaximumByteCountWriteKey "IOMaximumByteCountWrite" // (OSNumber)
111 #define kIOMaximumSegmentCountReadKey "IOMaximumSegmentCountRead" // (OSNumber)
112 #define kIOMaximumSegmentCountWriteKey "IOMaximumSegmentCountWrite" // (OSNumber)
113 #define kIOMaximumSegmentByteCountReadKey "IOMaximumSegmentByteCountRead" // (OSNumber)
114 #define kIOMaximumSegmentByteCountWriteKey "IOMaximumSegmentByteCountWrite" // (OSNumber)
116 // properties found in services that wish to describe an icon
120 // CFBundleIdentifier = "com.example.driver.example";
121 // IOBundleResourceFile = "example.icns";
124 // where IOBundleResourceFile is the filename of the resource
126 #define kIOIconKey "IOIcon" // (OSDictionary)
127 #define kIOBundleResourceFileKey "IOBundleResourceFile" // (OSString)
129 #define kIOBusBadgeKey "IOBusBadge" // (OSDictionary)
130 #define kIODeviceIconKey "IODeviceIcon" // (OSDictionary)
132 // property of root that describes the machine's serial number as a string
133 #define kIOPlatformSerialNumberKey "IOPlatformSerialNumber" // (OSString)
135 // IODTNVRAM property keys
136 #define kIONVRAMDeletePropertyKey "IONVRAM-DELETE-PROPERTY"
137 #define kIODTNVRAMPanicInfoKey "aapl,panic-info"
139 // keys for complex boot information
140 #define kIOBootDeviceKey "IOBootDevice" // dict | array of dicts
141 #define kIOBootDevicePathKey "IOBootDevicePath" // arch-neutral OSString
142 #define kIOBootDeviceSizeKey "IOBootDeviceSize" // OSNumber of bytes
144 #endif /* ! _IOKIT_IOKITKEYS_H */