Subversion Repositories HelenOS

Compare Revisions

Ignore whitespace Rev 2918 → Rev 2919

/branches/tracing/kernel/generic/include/udebug/udebug.h
84,13 → 84,7
*
* - 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
101,13 → 95,7
*
* - 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
/branches/tracing/kernel/generic/include/udebug/udebug_ops.h
47,7 → 47,7
int udebug_thread_read(void **buffer, size_t buf_size, size_t *n);
int udebug_args_read(thread_t *t, void **buffer);
 
int udebug_regs_read(thread_t *t, void **buffer, size_t *n);
int udebug_regs_read(thread_t *t, void *buffer);
int udebug_regs_write(thread_t *t, void *buffer);
 
int udebug_mem_read(unative_t uspace_addr, size_t n, void **buffer);