IODebuggerRxHandler
Declaration
typedef void (*IODebuggerRxHandler)(IOService *target, void *buffer, UInt32 *length, UInt32 timeout);Parameters
- target:
The target object.
- buffer:
KDP receive buffer. The buffer allocated has room for 1518 bytes. The receive handler must not overflow this buffer.
- length:
The amount of data received and placed into the buffer. Set to 0 if no frame was received during the poll interval.
- timeout:
The amount of time to poll in milliseconds while waiting for a frame to arrive.
Discussion
Defines the receive handler that must be implemented by the target to service KDP receive requests. This handler is called by kdpReceiveDispatcher().
See Also
Common Types
IOAccelBoundsIOAccelDeviceRegionIOAccelIDIOAccelSizeIOAccelSurfaceInformationIOAccelSurfaceReadDataIOAccelSurfaceScalingIOAddressRangeIOAddressSegmentIOAlignmentIOAppleTimingIDIOAsyncMethodIOBlockStorageDeviceExtentIOBlockStorageProvisionDeviceExtentIOByteCountIOByteCount32IOByteCount64IOCSRKeyTypeIOCacheModeIOColorComponentIOColorEntryIOCommandCodeIOCommandIDIOCommandKindIOConfigKeyTypeIODMAMapPageListIODMAMapSpecificationIODTCompareAddressCellFuncIODTNVLocationFuncIODataQueueClientDequeueEntryBlockIODataQueueClientEnqueueEntryBlockIODebuggerLinkStatusHandlerIODebuggerSetModeHandlerIODebuggerTxHandlerIODetailedTimingInformationIODetailedTimingInformationV1IODetailedTimingInformationV2IODispatchBlockIODispatchFunctionIODispatchLogFunctionIODispatchQueueCancelHandlerIODispatchQueueNameIODispatchSourceCancelHandlerIODisplayModeIDIODisplayModeInformationIODisplayProductIDIODisplayScalerInformationIODisplayTimingRangeIODisplayTimingRangeV1IODisplayTimingRangeV2IODisplayVendorIDIOEnetMulticastModeIOEnetPromiscuousModeIOEthernetAddressIOExternalAsyncMethodIOExternalMethodIOExternalMethodActionIOExternalMethodArgumentsIOExternalMethodDispatchIOExternalTrapIOFBCursorRefIOFBDPLinkConfigIOFBDisplayModeDescriptionIOFBHDRMetaDataIOFBHDRMetaDataV1IOFBInterruptProcIOFixedIOFixed1616IOFixedPoint32IOFourCharCodeIOFramebufferNotificationHandlerIOFramebufferNotificationNotifyIOGBoundsIOGPointIOGSizeIOHardwareCursorDescriptorIOHardwareCursorInfoIOIndexIOInterruptActionIOInterruptActionBlockIOInterruptDispatchSourcePayloadIOInterruptHandlerIOInterruptStateIOInterruptVectorNumberIOItemCountIOLockIOLogicalAddressIOMediaAttributeMaskIOMediaStateIOMessageIOMethodIONDRVControlParametersIONVRAMDescriptorIONamedValueIONotificationRefIOOptionBitsIOOutputActionIOPCIDeviceConfigHandlerIOPCIEventIOPCIPhysicalAddressIOPMCalendarStructIOPMDriverAssertionIDIOPMDriverAssertionLevelIOPMDriverAssertionTypeIOPMSettingControllerCallbackIOPhysicalAddressIOPhysicalAddress32IOPhysicalAddress64IOPhysicalLengthIOPhysicalLength32IOPhysicalLength64IOPhysicalRangeIOPixelApertureIOPixelEncodingIOPixelInformationIOPowerStateChangeNotificationIOPropertyNameIORPCIORPCMessageIORPCMessageErrorReturnIORPCMessageErrorReturnContentIORPCMessageMachIORWLockIORangeScalarIORecursiveLockIORegistryEntryApplierFunctionIORegistryPlaneNameIOReportCategoriesIOReportConfigureActionIOReportFormatIOReportQuantityIOReportScaleFactorIOReportUnitIOReportUnitsIOReportUpdateActionIOReturnIOSelectIOServiceIOServiceApplierFunctionIOServiceInterestContent64IOServiceInterestHandlerIOServiceInterestHandlerBlockIOServiceMatchingNotificationHandlerIOServiceMatchingNotificationHandlerBlockIOServiceNameIOServiceNotificationBlockIOServiceNotificationHandlerIOSimpleLockIOStorageAccessIOStorageAttributesIOStorageCompletionIOStorageCompletionActionIOStorageExtentIOStorageGetProvisionStatusOptionsIOStorageOptionsIOStoragePriorityIOStorageProvisionExtentIOStorageSynchronizeOptionsIOStorageUnmapOptionsIOStreamModeIOThreadIOThreadFuncIOTimeStampIntervalConstantFilteredIOTimingInformationIOTrackingCallSiteInfoIOTrapIOUserClientAsyncArgumentsArrayIOUserClientAsyncReferenceArrayIOUserClientMethodArgumentsIOUserClientMethodDispatchIOUserClientMethodFunctionIOUserClientScalarArrayIOVersionIOVideoDeviceNotificationIOVideoDeviceNotificationMessageIOVideoStreamDescriptionIOVirtualAddressIOVirtualRange