Changes in kernel/generic/src/udebug/udebug.c [bab75df6:fafb8e5] in mainline
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
kernel/generic/src/udebug/udebug.c
rbab75df6 rfafb8e5 141 141 TASK->udebug.begin_call = NULL; 142 142 143 IPC_SET_RETVAL(db_call->data, 0);143 ipc_set_retval(&db_call->data, 0); 144 144 ipc_answer(&TASK->answerbox, db_call); 145 145 } else if (TASK->udebug.dt_state == UDEBUG_TS_ACTIVE) { … … 160 160 assert(go_call); 161 161 162 IPC_SET_RETVAL(go_call->data, 0);163 IPC_SET_ARG1(go_call->data, UDEBUG_EVENT_STOP);162 ipc_set_retval(&go_call->data, 0); 163 ipc_set_arg1(&go_call->data, UDEBUG_EVENT_STOP); 164 164 165 165 THREAD->udebug.cur_event = UDEBUG_EVENT_STOP; … … 243 243 THREAD->udebug.go_call = NULL; 244 244 245 IPC_SET_RETVAL(call->data, 0);246 IPC_SET_ARG1(call->data, etype);247 IPC_SET_ARG2(call->data, id);248 IPC_SET_ARG3(call->data, rc);245 ipc_set_retval(&call->data, 0); 246 ipc_set_arg1(&call->data, etype); 247 ipc_set_arg2(&call->data, id); 248 ipc_set_arg3(&call->data, rc); 249 249 250 250 THREAD->udebug.syscall_args[0] = a1; … … 314 314 315 315 THREAD->udebug.go_call = NULL; 316 IPC_SET_RETVAL(call->data, 0);317 IPC_SET_ARG1(call->data, UDEBUG_EVENT_THREAD_B);318 IPC_SET_ARG2(call->data, (sysarg_t) thread);316 ipc_set_retval(&call->data, 0); 317 ipc_set_arg1(&call->data, UDEBUG_EVENT_THREAD_B); 318 ipc_set_arg2(&call->data, (sysarg_t) thread); 319 319 320 320 /* … … 365 365 366 366 THREAD->udebug.go_call = NULL; 367 IPC_SET_RETVAL(call->data, 0);368 IPC_SET_ARG1(call->data, UDEBUG_EVENT_THREAD_E);367 ipc_set_retval(&call->data, 0); 368 ipc_set_arg1(&call->data, UDEBUG_EVENT_THREAD_E); 369 369 370 370 /* Prevent any further debug activity in thread. */ … … 428 428 LOG("Answer GO call with EVENT_FINISHED."); 429 429 430 IPC_SET_RETVAL(thread->udebug.go_call->data, 0);431 IPC_SET_ARG1(thread->udebug.go_call->data,430 ipc_set_retval(&thread->udebug.go_call->data, 0); 431 ipc_set_arg1(&thread->udebug.go_call->data, 432 432 UDEBUG_EVENT_FINISHED); 433 433
Note:
See TracChangeset
for help on using the changeset viewer.