Rev 2905 | Rev 2920 | Go to most recent revision | Show entire file | Ignore whitespace | Details | Blame | Last modification | View Log | RSS feed
| Rev 2905 | Rev 2912 | ||
|---|---|---|---|
| Line 67... | Line 67... | ||
| 67 | { |
67 | { |
| 68 | return async_req_4_0(phoneid, IPC_M_DEBUG_ALL, UDEBUG_M_MEM_READ, |
68 | return async_req_4_0(phoneid, IPC_M_DEBUG_ALL, UDEBUG_M_MEM_READ, |
| 69 | (sysarg_t)buffer, addr, n); |
69 | (sysarg_t)buffer, addr, n); |
| 70 | } |
70 | } |
| 71 | 71 | ||
| - | 72 | int udebug_mem_write(int phoneid, void *data, uintptr_t addr, size_t n) |
|
| - | 73 | { |
|
| - | 74 | return async_req_4_0(phoneid, IPC_M_DEBUG_ALL, UDEBUG_M_MEM_WRITE, |
|
| - | 75 | (sysarg_t)data, addr, n); |
|
| - | 76 | } |
|
| - | 77 | ||
| 72 | int udebug_args_read(int phoneid, thash_t tid, sysarg_t *buffer) |
78 | int udebug_args_read(int phoneid, thash_t tid, sysarg_t *buffer) |
| 73 | { |
79 | { |
| 74 | return async_req_3_0(phoneid, IPC_M_DEBUG_ALL, UDEBUG_M_ARGS_READ, |
80 | return async_req_3_0(phoneid, IPC_M_DEBUG_ALL, UDEBUG_M_ARGS_READ, |
| 75 | tid, (sysarg_t)buffer); |
81 | tid, (sysarg_t)buffer); |
| 76 | } |
82 | } |