ADC Home > Reference Library > Reference > Darwin > Kernel Framework Reference
|
IOKernelDebugger.h |
Includes: |
Kernel debugger nub.
IODebuggerLockState |
typedef enum { kIODebuggerLockTaken = 0x1 } IODebuggerLockState;
kIODebuggerLockTaken
Set if the debugger lock was taken.
Defines flags returned by IOKernelDebugger::lock().
IODebuggerRxHandler |
typedef void ( *IODebuggerRxHandler)( IOService *target, void *buffer, UInt32 *length, UInt32 timeout );
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.
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 );
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.
Defines the transmit handler that must be implemented by the target to service KDP transmit requests. This handler is called by kdpTransmitDispatcher().
|
Last Updated: 2008-12-19