Subversion Repositories HelenOS

Compare Revisions

Ignore whitespace Rev 2816 → Rev 2817

/branches/tracing/kernel/generic/include/udebug/udebug.h
52,6 → 52,40
*/
UDEBUG_M_ARGS_READ,
 
/** Read thread's userspace register state (istate_t).
*
* - ARG2 - thread identification
* - ARG3 - destination address in the caller's address space
* - ARG4 - size of receiving buffer in bytes
*
* on answer, the kernel will set:
*
* - ARG1 - actual size in bytes of data read
* - ARG2 - total size in bytes of data available
*
* or, on error, retval will be
* - ENOENT - thread does not exist
* - EBUSY - register state not available
*/
UDEBUG_M_REGS_READ,
 
/** Write thread's userspace register state (istate_t).
*
* - ARG2 - thread identification
* - ARG3 - source address in the caller's address space
* - ARG4 - size of source data in bytes
*
* on answer, the kernel will set:
*
* - ARG1 - actual size in bytes of data copied
* - ARG2 - max size in bytes that could have been copied
*
* or, on error, retval will be
* - ENOENT - thread does not exist
* - EBUSY - register state not available
*/
UDEBUG_M_REGS_WRITE,
 
/** Read the list of the debugged tasks's threads.
*
* - ARG2 - destination address in the caller's address space