/branches/tracing/uspace/lib/libc/include/udebug.h |
---|
47,6 → 47,7 |
int udebug_thread_read(int phoneid, void *buffer, size_t n, |
size_t *copied, size_t *needed); |
int udebug_mem_read(int phoneid, void *buffer, uintptr_t addr, size_t n); |
int udebug_mem_write(int phoneid, void *data, uintptr_t addr, size_t n); |
int udebug_args_read(int phoneid, thash_t tid, sysarg_t *buffer); |
int udebug_go(int phoneid, thash_t tid, int *ev_type, int *val0, int *val1); |
int udebug_stop(int phoneid, thash_t tid); |
/branches/tracing/uspace/lib/libc/generic/udebug.c |
---|
69,6 → 69,12 |
(sysarg_t)buffer, addr, n); |
} |
int udebug_mem_write(int phoneid, void *data, uintptr_t addr, size_t n) |
{ |
return async_req_4_0(phoneid, IPC_M_DEBUG_ALL, UDEBUG_M_MEM_WRITE, |
(sysarg_t)data, addr, n); |
} |
int udebug_args_read(int phoneid, thash_t tid, sysarg_t *buffer) |
{ |
return async_req_3_0(phoneid, IPC_M_DEBUG_ALL, UDEBUG_M_ARGS_READ, |