Subversion Repositories HelenOS

Compare Revisions

Ignore whitespace Rev 2919 → Rev 2920

/branches/tracing/uspace/lib/libc/include/udebug.h
49,6 → 49,8
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_regs_read(int phoneid, thash_t tid, void *buffer);
int udebug_regs_write(int phoneid, thash_t tid, void *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
81,6 → 81,18
tid, (sysarg_t)buffer);
}
 
int udebug_regs_read(int phoneid, thash_t tid, void *buffer)
{
return async_req_3_0(phoneid, IPC_M_DEBUG_ALL, UDEBUG_M_REGS_READ,
tid, (sysarg_t)buffer);
}
 
int udebug_regs_write(int phoneid, thash_t tid, void *buffer)
{
return async_req_3_0(phoneid, IPC_M_DEBUG_ALL, UDEBUG_M_REGS_WRITE,
tid, (sysarg_t)buffer);
}
 
int udebug_go(int phoneid, thash_t tid, int *ev_type, int *val0, int *val1)
{
return async_req_2_3(phoneid, IPC_M_DEBUG_ALL, UDEBUG_M_GO,