Rev 2912 | Rev 2946 | Go to most recent revision | Show entire file | Regard whitespace | Details | Blame | Last modification | View Log | RSS feed
Rev 2912 | Rev 2920 | ||
---|---|---|---|
Line 79... | Line 79... | ||
79 | { |
79 | { |
80 | 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, |
81 | tid, (sysarg_t)buffer); |
81 | tid, (sysarg_t)buffer); |
82 | } |
82 | } |
83 | 83 | ||
- | 84 | int udebug_regs_read(int phoneid, thash_t tid, void *buffer) |
|
- | 85 | { |
|
- | 86 | return async_req_3_0(phoneid, IPC_M_DEBUG_ALL, UDEBUG_M_REGS_READ, |
|
- | 87 | tid, (sysarg_t)buffer); |
|
- | 88 | } |
|
- | 89 | ||
- | 90 | int udebug_regs_write(int phoneid, thash_t tid, void *buffer) |
|
- | 91 | { |
|
- | 92 | return async_req_3_0(phoneid, IPC_M_DEBUG_ALL, UDEBUG_M_REGS_WRITE, |
|
- | 93 | tid, (sysarg_t)buffer); |
|
- | 94 | } |
|
- | 95 | ||
84 | int udebug_go(int phoneid, thash_t tid, int *ev_type, int *val0, int *val1) |
96 | int udebug_go(int phoneid, thash_t tid, int *ev_type, int *val0, int *val1) |
85 | { |
97 | { |
86 | return async_req_2_3(phoneid, IPC_M_DEBUG_ALL, UDEBUG_M_GO, |
98 | return async_req_2_3(phoneid, IPC_M_DEBUG_ALL, UDEBUG_M_GO, |
87 | tid, (sysarg_t)ev_type, (sysarg_t)val0, (sysarg_t)val1); |
99 | tid, (sysarg_t)ev_type, (sysarg_t)val0, (sysarg_t)val1); |
88 | } |
100 | } |