Changeset 7f11dc6 in mainline for kernel/generic/src/udebug
- Timestamp:
- 2017-12-19T18:07:28Z (8 years ago)
- Branches:
- lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
- Children:
- 897fd8f1
- Parents:
- 219c530
- git-author:
- Jiří Zárevúcky <zarevucky.jiri@…> (2017-12-19 17:08:09)
- git-committer:
- Jiří Zárevúcky <zarevucky.jiri@…> (2017-12-19 18:07:28)
- Location:
- kernel/generic/src/udebug
- Files:
-
- 2 edited
-
udebug_ipc.c (modified) (4 diffs)
-
udebug_ops.c (modified) (9 diffs)
Legend:
- Unmodified
- Added
- Removed
-
kernel/generic/src/udebug/udebug_ipc.c
r219c530 r7f11dc6 137 137 138 138 rc = udebug_go(t, call); 139 if (rc < 0) {139 if (rc != EOK) { 140 140 IPC_SET_RETVAL(call->data, rc); 141 141 ipc_answer(&TASK->kb.box, call); … … 182 182 */ 183 183 rc = udebug_thread_read(&buffer, buf_size, &copied, &needed); 184 if (rc < 0) {184 if (rc != EOK) { 185 185 IPC_SET_RETVAL(call->data, rc); 186 186 ipc_answer(&TASK->kb.box, call); … … 351 351 352 352 rc = udebug_regs_read(t, &buffer); 353 if (rc < 0) {353 if (rc != EOK) { 354 354 IPC_SET_RETVAL(call->data, rc); 355 355 ipc_answer(&TASK->kb.box, call); … … 397 397 398 398 rc = udebug_mem_read(uspace_src, size, &buffer); 399 if (rc < 0) {399 if (rc != EOK) { 400 400 IPC_SET_RETVAL(call->data, rc); 401 401 ipc_answer(&TASK->kb.box, call); -
kernel/generic/src/udebug/udebug_ops.c
r219c530 r7f11dc6 253 253 mutex_unlock(&TASK->udebug.lock); 254 254 255 return 0;255 return EOK; 256 256 } 257 257 … … 285 285 _thread_op_end(thread); 286 286 287 return 0;287 return EOK; 288 288 } 289 289 … … 316 316 /* Answer will be sent when the thread becomes stoppable. */ 317 317 _thread_op_end(thread); 318 return 0;318 return EOK; 319 319 } 320 320 … … 339 339 mutex_unlock(&TASK->udebug.lock); 340 340 341 return 0;341 return EOK; 342 342 } 343 343 … … 414 414 *needed = (copied_ids + extra_ids) * sizeof(sysarg_t); 415 415 416 return 0;416 return EOK; 417 417 } 418 418 … … 437 437 memcpy(*data, TASK->name, name_size); 438 438 439 return 0;439 return EOK; 440 440 } 441 441 … … 480 480 481 481 *buffer = arg_buffer; 482 return 0;482 return EOK; 483 483 } 484 484 … … 522 522 523 523 *buffer = (void *) state_buf; 524 return 0;524 return EOK; 525 525 } 526 526 … … 560 560 561 561 *buffer = data_buffer; 562 return 0;562 return EOK; 563 563 } 564 564
Note:
See TracChangeset
for help on using the changeset viewer.
