Overview
Classes
- IOKernelDebugger
- Kernel debugger nub.
Typedefs
typedef enum {
kIODebuggerLockTaken = 0x1
} IODebuggerLockState;
Constants
kIODebuggerLockTaken- Set if the debugger lock was taken.
Discussion
Defines flags returned by IOKernelDebugger::lock().
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().
typedef void ( *IODebuggerTxHandler)(
IOService *target,
void *buffer,
UInt32 length );
Parameters
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().
Last Updated: 2008-03-13