Contents

init

Initializes an IOKernelDebugger instance.

Declaration

virtual bool init(
 IOService *target, 
 IODebuggerTxHandlertxHandler, 
 IODebuggerRxHandlerrxHandler, 
 IODebuggerLinkStatusHandlerlinkStatusHandler, 
 IODebuggerSetModeHandlersetModeHandler);

Parameters

  • target:

    The target object that implements the debugger handlers.

  • txHandler:

    The target's transmit handler. A pointer to a 'C' function.

  • rxHandler:

    The target's receive handler. A pointer to a 'C' function.

  • linkStatusHandler:

    The target's link status handler. A pointer to a 'C' function.

  • setModeHandler:

    The target's set mode handler. A pointer to a 'C' function.

Return Value

Returns true if the instance initialized successfully, false otherwise.

See Also

Miscellaneous