#include <IOKit/IOKitKeys.h>

IOKit/IOKitKeys.h Kernel.framework

136 macros · 1 enum

macrokIOKitBuildVersionKey

properties found in the registry root
#define kIOKitBuildVersionKey "IOKitBuildVersion"

macrokIOKitDiagnosticsKey

#define kIOKitDiagnosticsKey "IOKitDiagnostics"

macrokIORegistryPlanesKey

a dictionary keyed by plane name
#define kIORegistryPlanesKey "IORegistryPlanes"

macrokIOCatalogueKey

#define kIOCatalogueKey "IOCatalogue"

macrokIOServicePlane

registry plane names
#define kIOServicePlane "IOService"

macrokIOPowerPlane

#define kIOPowerPlane "IOPower"

macrokIODeviceTreePlane

#define kIODeviceTreePlane "IODeviceTree"

macrokIOAudioPlane

#define kIOAudioPlane "IOAudio"

macrokIOFireWirePlane

#define kIOFireWirePlane "IOFireWire"

macrokIOUSBPlane

#define kIOUSBPlane "IOUSB"

macrokIORegistryEntryIDKey

registry ID number
#define kIORegistryEntryIDKey "IORegistryEntryID"

macrokIORegistryEntryPropertyKeysKey

property name to get array of property names
#define kIORegistryEntryPropertyKeysKey "IORegistryEntryPropertyKeys"

macrokIORegistryEntryAllowableSetPropertiesKey

property name to allow only the given keys present in an OSDictionary from a user space call to IORegistryEntry::setProperties (OSArray)
#define kIORegistryEntryAllowableSetPropertiesKey "IORegistryEntryAllowableSetProperties"

macrokIORegistryEntryDefaultLockingSetPropertiesKey

property name to single thread a user space call to IORegistryEntry::setProperties (OSBoolean)
#define kIORegistryEntryDefaultLockingSetPropertiesKey "IORegistryEntryDefaultLockingSetProperties"

macrokIOServiceClass

IOService class name
#define kIOServiceClass "IOService"

macrokIOResourcesClass

IOResources class name
#define kIOResourcesClass "IOResources"

macrokIOClassKey

IOService driver probing property names
#define kIOClassKey "IOClass"

macrokIOProbeScoreKey

#define kIOProbeScoreKey "IOProbeScore"

macrokIOKitDebugKey

#define kIOKitDebugKey "IOKitDebug"

macrokIOUserClassKey

DriverKit class keys
#define kIOUserClassKey "IOUserClass"

macrokIOUserClassesKey

#define kIOUserClassesKey "IOUserClasses"

macrokIOSupportedPropertiesKey

Properties to be supported as API
#define kIOSupportedPropertiesKey "IOSupportedProperties"

macrokIOUserServicePropertiesKey

Properties writable by dexts
#define kIOUserServicePropertiesKey "IOUserServiceProperties"

macrokIOProviderClassKey

IOService matching property names
#define kIOProviderClassKey "IOProviderClass"

macrokIONameMatchKey

#define kIONameMatchKey "IONameMatch"

macrokIOPropertyMatchKey

#define kIOPropertyMatchKey "IOPropertyMatch"

macrokIOPropertyExistsMatchKey

#define kIOPropertyExistsMatchKey "IOPropertyExistsMatch"

macrokIOPathMatchKey

#define kIOPathMatchKey "IOPathMatch"

macrokIOLocationMatchKey

#define kIOLocationMatchKey "IOLocationMatch"

macrokIOParentMatchKey

#define kIOParentMatchKey "IOParentMatch"

macrokIOResourceMatchKey

#define kIOResourceMatchKey "IOResourceMatch"

macrokIOResourceMatchedKey

#define kIOResourceMatchedKey "IOResourceMatched"

macrokIOMatchedServiceCountKey

#define kIOMatchedServiceCountKey "IOMatchedServiceCountMatch"

macrokIONameMatchedKey

#define kIONameMatchedKey "IONameMatched"

macrokIOMatchCategoryKey

#define kIOMatchCategoryKey "IOMatchCategory"

macrokIODefaultMatchCategoryKey

#define kIODefaultMatchCategoryKey "IODefaultMatchCategory"

macrokIOMatchedPersonalityKey

#define kIOMatchedPersonalityKey "IOMatchedPersonality"

macrokIORematchPersonalityKey

#define kIORematchPersonalityKey "IORematchPersonality"

macrokIORematchCountKey

#define kIORematchCountKey "IORematchCount"

macrokIODEXTMatchCountKey

#define kIODEXTMatchCountKey "IODEXTMatchCount"

macrokIOUserClientEntitlementsKey

Property specifying the entitlement to check against an IOUserClient's opening process kOSBooleanFalse - Allow access (no entitlements required) string - If the opening process has the named entitlement with value == boolean true, allow access
#define kIOUserClientEntitlementsKey "IOUserClientEntitlements"

macrokIOServiceDEXTEntitlementsKey

Entitlements to check against dext process Property is an array, one or more of which may match, of: an array of entitlement strings, all must be present Any array can be a single string.
#define kIOServiceDEXTEntitlementsKey "IOServiceDEXTEntitlements"

macrokIODriverKitEntitlementKey

Entitlement required to open dext connection
#define kIODriverKitEntitlementKey "com.apple.developer.driverkit"

macrokIODriverKitUserClientEntitlementsKey

Entitlements required to open dext IOUserClient Property is an array of strings containing CFBundleIdentifiers of service being opened
#define kIODriverKitUserClientEntitlementsKey "com.apple.developer.driverkit.userclient-access"

macrokIODriverKitRequiredEntitlementsKey

Allows the entitled process to open a user client connection to any dext that has specific entitlements Property is an array of strings containing entitlements, one of which needs to be present in the dext providing the user client being opened
#define kIODriverKitRequiredEntitlementsKey "com.apple.private.driverkit.driver-access"

macrokIODriverKitTestDriverEntitlementKey

Specifies that this driver is used for internal tests. This opts the driver out of our policy to reboot the device if a driver crashes too often.
#define kIODriverKitTestDriverEntitlementKey "com.apple.private.driverkit.test-driver"

macrokIODriverKitUserClientEntitlementAllowAnyKey

Entitlement of a dext that allows any task to open one of its IOUserClients
#define kIODriverKitUserClientEntitlementAllowAnyKey "com.apple.developer.driverkit.allow-any-userclient-access"

macrokIODriverKitUserClientEntitlementAdministratorKey

#define kIODriverKitUserClientEntitlementAdministratorKey "com.apple.developer.driverkit.administrator"

macrokIODriverKitUserClientEntitlementCommunicatesWithDriversKey

Entitlements for third party drivers on iOS
#define kIODriverKitUserClientEntitlementCommunicatesWithDriversKey "com.apple.developer.driverkit.communicates-with-drivers"

macrokIODriverKitUserClientEntitlementAllowThirdPartyUserClientsKey

#define kIODriverKitUserClientEntitlementAllowThirdPartyUserClientsKey "com.apple.developer.driverkit.allow-third-party-userclients"

macrokIODriverKitUSBTransportEntitlementKey

Other DriverKit entitlements
#define kIODriverKitUSBTransportEntitlementKey "com.apple.developer.driverkit.transport.usb"

macrokIODriverKitHIDTransportEntitlementKey

#define kIODriverKitHIDTransportEntitlementKey "com.apple.developer.driverkit.transport.hid"

macrokIODriverKitHIDFamilyDeviceEntitlementKey

#define kIODriverKitHIDFamilyDeviceEntitlementKey "com.apple.developer.driverkit.family.hid.device"

macrokIODriverKitHIDFamilyEventServiceEntitlementKey

#define kIODriverKitHIDFamilyEventServiceEntitlementKey "com.apple.developer.driverkit.family.hid.eventservice"

macrokIODriverKitTransportBuiltinEntitlementKey

#define kIODriverKitTransportBuiltinEntitlementKey "com.apple.developer.driverkit.builtin"

macrokIONVRAMReadAccessKey

Entitlement required to read nvram root-only properties as non-root user
#define kIONVRAMReadAccessKey "com.apple.private.iokit.nvram-read-access"

macrokIONVRAMWriteAccessKey

Entitlement required to write nvram properties as non-root user
#define kIONVRAMWriteAccessKey "com.apple.private.iokit.nvram-write-access"

macrokIOResourcesSetPropertyKey

Entitlement required to set properties on the IOResources object as non-root user
#define kIOResourcesSetPropertyKey "com.apple.private.iokit.ioresources.setproperty"

macrokIONVRAMSystemAllowKey

Entitlement required to read/write to the system nvram region
#define kIONVRAMSystemAllowKey "com.apple.private.iokit.system-nvram-allow"

macrokIOMatchDeferKey

When possible, defer matching of this driver until kextd has started.
#define kIOMatchDeferKey "IOMatchDefer"

macrokIOAllCPUInitializedKey

Published after processor_start() has been called on all CPUs at boot time.
#define kIOAllCPUInitializedKey "IOAllCPUInitialized"

macrokIOUserClientClassKey

IOService default user client class, for loadable user clients
#define kIOUserClientClassKey "IOUserClientClass"

macrokIOMapperIDKey

key to find IOMappers
#define kIOMapperIDKey "IOMapperID"

macrokIOUserClientCrossEndianKey

#define kIOUserClientCrossEndianKey "IOUserClientCrossEndian"

macrokIOUserClientCrossEndianCompatibleKey

#define kIOUserClientCrossEndianCompatibleKey "IOUserClientCrossEndianCompatible"

macrokIOUserClientSharedInstanceKey

#define kIOUserClientSharedInstanceKey "IOUserClientSharedInstance"

macrokIOUserClientDefaultLockingKey

#define kIOUserClientDefaultLockingKey "IOUserClientDefaultLocking"

macrokIOUserClientDefaultLockingSetPropertiesKey

#define kIOUserClientDefaultLockingSetPropertiesKey "IOUserClientDefaultLockingSetProperties"

macrokIOUserClientDefaultLockingSingleThreadExternalMethodKey

#define kIOUserClientDefaultLockingSingleThreadExternalMethodKey "IOUserClientDefaultLockingSingleThreadExternalMethod"

macrokIOUserClientCreatorKey

diagnostic string describing the creating task
#define kIOUserClientCreatorKey "IOUserClientCreator"

macrokIOUserServerCDHashKey

the expected cdhash value of the userspace driver executable
#define kIOUserServerCDHashKey "IOUserServerCDHash"

macrokIOUserUserClientKey

#define kIOUserUserClientKey "IOUserUserClient"

macrokIOUserServerOneProcessKey

#define kIOUserServerOneProcessKey "IOUserServerOneProcess"

macrokIOUserServerPreserveUserspaceRebootKey

#define kIOUserServerPreserveUserspaceRebootKey "IOUserServerPreserveUserspaceReboot"

macrokIOPublishNotification

IOService notification types
#define kIOPublishNotification "IOServicePublish"

macrokIOFirstPublishNotification

#define kIOFirstPublishNotification "IOServiceFirstPublish"

macrokIOMatchedNotification

#define kIOMatchedNotification "IOServiceMatched"

macrokIOFirstMatchNotification

#define kIOFirstMatchNotification "IOServiceFirstMatch"

macrokIOTerminatedNotification

#define kIOTerminatedNotification "IOServiceTerminate"

macrokIOWillTerminateNotification

#define kIOWillTerminateNotification "IOServiceWillTerminate"

macrokIOGeneralInterest

IOService interest notification types
#define kIOGeneralInterest "IOGeneralInterest"

macrokIOBusyInterest

#define kIOBusyInterest "IOBusyInterest"

macrokIOAppPowerStateInterest

#define kIOAppPowerStateInterest "IOAppPowerStateInterest"

macrokIOPriorityPowerStateInterest

#define kIOPriorityPowerStateInterest "IOPriorityPowerStateInterest"

macrokIOPlatformDeviceMessageKey

#define kIOPlatformDeviceMessageKey "IOPlatformDeviceMessage"

macrokIOCFPlugInTypesKey

IOService interest notification types
#define kIOCFPlugInTypesKey "IOCFPlugInTypes"

macrokIOCompatibilityMatchKey

#define kIOCompatibilityMatchKey "IOCompatibilityMatch"

macrokIOCompatibilityPropertiesKey

#define kIOCompatibilityPropertiesKey "IOCompatibilityProperties"

macrokIOPathKey

#define kIOPathKey "IOPath"

macrokIOCommandPoolSizeKey

properties found in services that implement command pooling
#define kIOCommandPoolSizeKey "IOCommandPoolSize"
(OSNumber)

macrokIOMaximumPriorityCountKey

properties found in services that implement priority
#define kIOMaximumPriorityCountKey "IOMaximumPriorityCount"
(OSNumber)

macrokIOMaximumBlockCountReadKey

properties found in services that have transfer constraints
#define kIOMaximumBlockCountReadKey "IOMaximumBlockCountRead"
(OSNumber)

macrokIOMaximumBlockCountWriteKey

#define kIOMaximumBlockCountWriteKey "IOMaximumBlockCountWrite"
(OSNumber)

macrokIOMaximumByteCountReadKey

#define kIOMaximumByteCountReadKey "IOMaximumByteCountRead"
(OSNumber)

macrokIOMaximumByteCountWriteKey

#define kIOMaximumByteCountWriteKey "IOMaximumByteCountWrite"
(OSNumber)

macrokIOMaximumSegmentCountReadKey

#define kIOMaximumSegmentCountReadKey "IOMaximumSegmentCountRead"
(OSNumber)

macrokIOMaximumSegmentCountWriteKey

#define kIOMaximumSegmentCountWriteKey "IOMaximumSegmentCountWrite"
(OSNumber)

macrokIOMaximumSegmentByteCountReadKey

#define kIOMaximumSegmentByteCountReadKey "IOMaximumSegmentByteCountRead"
(OSNumber)

macrokIOMaximumSegmentByteCountWriteKey

#define kIOMaximumSegmentByteCountWriteKey "IOMaximumSegmentByteCountWrite"
(OSNumber)

macrokIOMinimumSegmentAlignmentByteCountKey

#define kIOMinimumSegmentAlignmentByteCountKey "IOMinimumSegmentAlignmentByteCount"
(OSNumber)

macrokIOMaximumSegmentAddressableBitCountKey

#define kIOMaximumSegmentAddressableBitCountKey "IOMaximumSegmentAddressableBitCount"
(OSNumber)

macrokIOMinimumSaturationByteCountKey

#define kIOMinimumSaturationByteCountKey "IOMinimumSaturationByteCount"
(OSNumber)

macrokIOMaximumSwapWriteKey

#define kIOMaximumSwapWriteKey "IOMaximumSwapWrite"
(OSNumber)

macrokIOIconKey

#define kIOIconKey "IOIcon"
(OSDictionary)

macrokIOBundleResourceFileKey

#define kIOBundleResourceFileKey "IOBundleResourceFile"
(OSString)

macrokIOBusBadgeKey

#define kIOBusBadgeKey "IOBusBadge"
(OSDictionary)

macrokIODeviceIconKey

#define kIODeviceIconKey "IODeviceIcon"
(OSDictionary)

macrokIOPlatformSerialNumberKey

property of root that describes the machine's serial number as a string
#define kIOPlatformSerialNumberKey "IOPlatformSerialNumber"
(OSString)

macrokIOPlatformUUIDKey

property of root that describes the machine's UUID as a string
#define kIOPlatformUUIDKey "IOPlatformUUID"
(OSString)

macrokIONVRAMBootArgsKey

IODTNVRAM property keys
#define kIONVRAMBootArgsKey "boot-args"

macrokIONVRAMDeletePropertyKey

#define kIONVRAMDeletePropertyKey "IONVRAM-DELETE-PROPERTY"

macrokIONVRAMSyncNowPropertyKey

#define kIONVRAMSyncNowPropertyKey "IONVRAM-SYNCNOW-PROPERTY"

macrokIONVRAMActivateCSRConfigPropertyKey

#define kIONVRAMActivateCSRConfigPropertyKey "IONVRAM-ARMCSR-PROPERTY"

macrokIODTNVRAMPanicInfoKey

#define kIODTNVRAMPanicInfoKey "aapl,panic-info"

macrokIONVRAMDeletePropertyKeyWRet

#define kIONVRAMDeletePropertyKeyWRet "IONVRAM-DELETEWRET-PROPERTY"

macrokIOBootDeviceKey

keys for complex boot information
#define kIOBootDeviceKey "IOBootDevice"
dict | array of dicts

macrokIOBootDevicePathKey

#define kIOBootDevicePathKey "IOBootDevicePath"
arch-neutral OSString

macrokIOBootDeviceSizeKey

#define kIOBootDeviceSizeKey "IOBootDeviceSize"
OSNumber of bytes

macrokOSBuildVersionKey

keys for OS Version information
#define kOSBuildVersionKey "OS Build Version"

macrokIOStateNotificationItemCreateKey

#define kIOStateNotificationItemCreateKey "com.apple.iokit.statenotification.create"

macrokIOStateNotificationItemSetKey

#define kIOStateNotificationItemSetKey "com.apple.iokit.statenotification.set"

macrokIOStateNotificationItemCopyKey

#define kIOStateNotificationItemCopyKey "com.apple.iokit.statenotification.copy"

macrokIOStateNotificationNameKey

#define kIOStateNotificationNameKey "com.apple.iokit.statenotification.name"

macrokIOStateNotificationEntitlementSetKey

#define kIOStateNotificationEntitlementSetKey "com.apple.iokit.statenotification.entitlement-set"

macrokIOStateNotificationEntitlementGetKey

#define kIOStateNotificationEntitlementGetKey "com.apple.iokit.statenotification.entitlement-get"

macrokIOSystemStateClamshellKey

#define kIOSystemStateClamshellKey "com.apple.iokit.pm.clamshell"

macrokIOSystemStateSleepDescriptionKey

#define kIOSystemStateSleepDescriptionKey "com.apple.iokit.pm.sleepdescription"

macrokIOSystemStateSleepDescriptionReasonKey

#define kIOSystemStateSleepDescriptionReasonKey "com.apple.iokit.pm.sleepreason"

macrokIOSystemStateSleepDescriptionHibernateStateKey

#define kIOSystemStateSleepDescriptionHibernateStateKey "com.apple.iokit.pm.hibernatestate"

enum(anonymous)

Must match IOHibernatePrivate.h!
underlying type unsigned int
kIOSystemStateSleepDescriptionHibernateStateInactive0
kIOSystemStateSleepDescriptionHibernateStateHibernating1writing image
kIOSystemStateSleepDescriptionHibernateStateWakingFromHibernate2booted and restored image

macrokIOSystemStateWakeDescriptionKey

#define kIOSystemStateWakeDescriptionKey "com.apple.iokit.pm.wakedescription"

macrokIOSystemStateWakeDescriptionWakeReasonKey

#define kIOSystemStateWakeDescriptionWakeReasonKey "com.apple.iokit.pm.wakereason"

macrokIOSystemStateWakeDescriptionContinuousTimeOffsetKey

#define kIOSystemStateWakeDescriptionContinuousTimeOffsetKey "com.apple.iokit.pm.wakedescription.continuous-time-offset"

macrokIOSystemStateHaltDescriptionKey

#define kIOSystemStateHaltDescriptionKey "com.apple.iokit.pm.haltdescription"

macrokIOSystemStateHaltDescriptionHaltStateKey

#define kIOSystemStateHaltDescriptionHaltStateKey "com.apple.iokit.pm.haltstate"

macrokIOSystemStatePowerSourceDescriptionKey

#define kIOSystemStatePowerSourceDescriptionKey "com.apple.iokit.pm.powersourcedescription"

macrokIOSystemStatePowerSourceDescriptionACAttachedKey

#define kIOSystemStatePowerSourceDescriptionACAttachedKey "com.apple.iokit.pm.acattached"