Rev 3438 | Rev 3462 | Go to most recent revision | Show entire file | Ignore whitespace | Details | Blame | Last modification | View Log | RSS feed
Rev 3438 | Rev 3454 | ||
---|---|---|---|
Line 55... | Line 55... | ||
55 | } |
55 | } |
56 | 56 | ||
57 | int udebug_thread_read(int phoneid, void *buffer, size_t n, |
57 | int udebug_thread_read(int phoneid, void *buffer, size_t n, |
58 | size_t *copied, size_t *needed) |
58 | size_t *copied, size_t *needed) |
59 | { |
59 | { |
60 | unsigned dest_addr; |
- | |
61 | - | ||
62 | return async_req_3_3(phoneid, IPC_M_DEBUG_ALL, UDEBUG_M_THREAD_READ, |
60 | return async_req_3_3(phoneid, IPC_M_DEBUG_ALL, UDEBUG_M_THREAD_READ, |
63 | (sysarg_t)buffer, n, &dest_addr, copied, needed); |
61 | (sysarg_t)buffer, n, NULL, copied, needed); |
64 | } |
62 | } |
65 | 63 | ||
66 | int udebug_mem_read(int phoneid, void *buffer, uintptr_t addr, size_t n) |
64 | int udebug_mem_read(int phoneid, void *buffer, uintptr_t addr, size_t n) |
67 | { |
65 | { |
68 | return async_req_4_0(phoneid, IPC_M_DEBUG_ALL, UDEBUG_M_MEM_READ, |
66 | return async_req_4_0(phoneid, IPC_M_DEBUG_ALL, UDEBUG_M_MEM_READ, |