10,11 → 10,6 |
int rc; |
int phoneid; |
int i; |
unsigned sc_args[6]; |
unsigned copied; |
unsigned ev_type; |
unsigned sc_id; |
int sc_rc; |
|
printf("running debug1 test\n"); |
taskid = 12; |
28,17 → 23,9 |
printf("-> %d\n", rc); |
|
while (1) { |
rc = ipc_call_sync_0_3(phoneid, IPC_M_DEBUG_GO, &ev_type, |
&sc_id, &sc_rc); |
rc = ipc_call_sync_3_1(phoneid, IPC_M_DEBUG_ARGS_READ, NULL, |
sc_args, 6 * sizeof(unsigned), &copied); |
if (rc >= 0) { |
printf("id %u(%u, %u, %u, %u, %u, %u) -> %d\n", |
sc_id, |
sc_args[0], sc_args[1], sc_args[2], |
sc_args[3], sc_args[4], sc_args[5], |
sc_rc); |
} |
printf("send IPC_M_DEBUG_GO message\n"); |
rc = ipc_call_sync_0_0(phoneid, IPC_M_DEBUG_GO); |
printf("-> %d\n", rc); |
} |
|
printf("done\n"); |