Changeset eb13ef8 in mainline for kernel/generic/src/udebug/udebug.c
- Timestamp:
- 2019-02-06T13:25:12Z (6 years ago)
- Branches:
- lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
- Children:
- fafb8e5
- Parents:
- bb97118
- git-author:
- Jiří Zárevúcky <zarevucky.jiri@…> (2019-02-02 14:04:02)
- git-committer:
- Jiří Zárevúcky <zarevucky.jiri@…> (2019-02-06 13:25:12)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
kernel/generic/src/udebug/udebug.c
rbb97118 reb13ef8 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.