Mac OS X Reference Library Apple Developer
Search

IOKernelDebugger.h

Overview

Use the links in the table of contents to the left to access the documentation.



Classes

IOKernelDebugger

Kernel debugger nub.



Typedefs

IODebuggerLockState
IODebuggerRxHandler
IODebuggerTxHandler

IODebuggerLockState



typedef enum { 
    kIODebuggerLockTaken = 0x1 
} IODebuggerLockState;  
Constants
kIODebuggerLockTaken

Set if the debugger lock was taken.

Discussion

Defines flags returned by IOKernelDebugger::lock().


IODebuggerRxHandler



typedef void ( *IODebuggerRxHandler)(
    IOService *target, 
    void *buffer, 
    UInt32 *length, 
    UInt32 timeout );  
Fields
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().


IODebuggerTxHandler



typedef void ( *IODebuggerTxHandler)(
    IOService *target, 
    void *buffer, 
    UInt32 length );  
Fields
target

The target object.

buffer

KDP transmit buffer. This buffer contains a KDP frame to be sent on the network.

length

The number of bytes in the transmit buffer.

Discussion

Defines the transmit handler that must be implemented by the target to service KDP transmit requests. This handler is called by kdpTransmitDispatcher().

 

Did this document help you? Yes It's good, but... Not helpful...

Last Updated: 2010-07-29