IODebuggerSetModeHandler
Declaration
typedef bool (*IODebuggerSetModeHandler)(IOService *target, bool active);Parameters
- target:
The target object.
- active:
True if entering KDP and false if exiting KDP.
Return Value
Return true on success and false on failure.
Discussion
Defines the mode handler that must be implemented by the target to service KDP link status requests. This handler is called by kdpSetModeDispatcher().
See Also
Common Types
IOAccelBoundsIOAccelDeviceRegionIOAccelIDIOAccelSizeIOAccelSurfaceInformationIOAccelSurfaceReadDataIOAccelSurfaceScalingIOAddressRangeIOAddressSegmentIOAlignmentIOAppleTimingIDIOAsyncMethodIOBlockStorageDeviceExtentIOBlockStorageProvisionDeviceExtentIOByteCountIOByteCount32IOByteCount64IOCSRKeyTypeIOCacheModeIOColorComponentIOColorEntryIOCommandCodeIOCommandIDIOCommandKindIOConfigKeyTypeIODMAMapPageListIODMAMapSpecificationIODTCompareAddressCellFuncIODTNVLocationFuncIODataQueueClientDequeueEntryBlockIODataQueueClientEnqueueEntryBlockIODebuggerLinkStatusHandlerIODebuggerRxHandlerIODebuggerTxHandlerIODetailedTimingInformationIODetailedTimingInformationV1IODetailedTimingInformationV2IODispatchBlockIODispatchFunctionIODispatchLogFunctionIODispatchQueueCancelHandlerIODispatchQueueNameIODispatchSourceCancelHandlerIODisplayModeIDIODisplayModeInformationIODisplayProductIDIODisplayScalerInformationIODisplayTimingRangeIODisplayTimingRangeV1IODisplayTimingRangeV2IODisplayVendorIDIOEnetMulticastModeIOEnetPromiscuousModeIOEthernetAddressIOExternalAsyncMethodIOExternalMethodIOExternalMethodActionIOExternalMethodArgumentsIOExternalMethodDispatchIOExternalTrapIOFBCursorRefIOFBDPLinkConfigIOFBDisplayModeDescriptionIOFBHDRMetaDataIOFBHDRMetaDataV1IOFBInterruptProcIOFixedIOFixed1616IOFixedPoint32IOFourCharCodeIOFramebufferNotificationHandlerIOFramebufferNotificationNotifyIOGBoundsIOGPointIOGSizeIOHardwareCursorDescriptorIOHardwareCursorInfoIOIndexIOInterruptActionIOInterruptActionBlockIOInterruptDispatchSourcePayloadIOInterruptHandlerIOInterruptStateIOInterruptVectorNumberIOItemCountIOLockIOLogicalAddressIOMediaAttributeMaskIOMediaStateIOMessageIOMethodIONDRVControlParametersIONVRAMDescriptorIONamedValueIONotificationRefIOOptionBitsIOOutputActionIOPCIDeviceConfigHandlerIOPCIEventIOPCIPhysicalAddressIOPMCalendarStructIOPMDriverAssertionIDIOPMDriverAssertionLevelIOPMDriverAssertionTypeIOPMSettingControllerCallbackIOPhysicalAddressIOPhysicalAddress32IOPhysicalAddress64IOPhysicalLengthIOPhysicalLength32IOPhysicalLength64IOPhysicalRangeIOPixelApertureIOPixelEncodingIOPixelInformationIOPowerStateChangeNotificationIOPropertyNameIORPCIORPCMessageIORPCMessageErrorReturnIORPCMessageErrorReturnContentIORPCMessageMachIORWLockIORangeScalarIORecursiveLockIORegistryEntryApplierFunctionIORegistryPlaneNameIOReportCategoriesIOReportConfigureActionIOReportFormatIOReportQuantityIOReportScaleFactorIOReportUnitIOReportUnitsIOReportUpdateActionIOReturnIOSelectIOServiceIOServiceApplierFunctionIOServiceInterestContent64IOServiceInterestHandlerIOServiceInterestHandlerBlockIOServiceMatchingNotificationHandlerIOServiceMatchingNotificationHandlerBlockIOServiceNameIOServiceNotificationBlockIOServiceNotificationHandlerIOSimpleLockIOStorageAccessIOStorageAttributesIOStorageCompletionIOStorageCompletionActionIOStorageExtentIOStorageGetProvisionStatusOptionsIOStorageOptionsIOStoragePriorityIOStorageProvisionExtentIOStorageSynchronizeOptionsIOStorageUnmapOptionsIOStreamModeIOThreadIOThreadFuncIOTimeStampIntervalConstantFilteredIOTimingInformationIOTrackingCallSiteInfoIOTrapIOUserClientAsyncArgumentsArrayIOUserClientAsyncReferenceArrayIOUserClientMethodArgumentsIOUserClientMethodDispatchIOUserClientMethodFunctionIOUserClientScalarArrayIOVersionIOVideoDeviceNotificationIOVideoDeviceNotificationMessageIOVideoStreamDescriptionIOVirtualAddressIOVirtualRange