Changeset eb13ef8 in mainline for uspace/lib/c/generic/async/client.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
-
uspace/lib/c/generic/async/client.c
rbb97118 reb13ef8 216 216 fibril_rmutex_lock(&message_mutex); 217 217 218 msg->retval = IPC_GET_RETVAL( *data);218 msg->retval = IPC_GET_RETVAL(data); 219 219 220 220 /* Copy data inside lock, just in case the call was detached */ … … 486 486 487 487 if (r1) 488 *r1 = IPC_GET_ARG1( result);488 *r1 = IPC_GET_ARG1(&result); 489 489 490 490 if (r2) 491 *r2 = IPC_GET_ARG2( result);491 *r2 = IPC_GET_ARG2(&result); 492 492 493 493 if (r3) 494 *r3 = IPC_GET_ARG3( result);494 *r3 = IPC_GET_ARG3(&result); 495 495 496 496 if (r4) 497 *r4 = IPC_GET_ARG4( result);497 *r4 = IPC_GET_ARG4(&result); 498 498 499 499 if (r5) 500 *r5 = IPC_GET_ARG5( result);500 *r5 = IPC_GET_ARG5(&result); 501 501 502 502 return rc; … … 538 538 539 539 if (r1) 540 *r1 = IPC_GET_ARG1( result);540 *r1 = IPC_GET_ARG1(&result); 541 541 542 542 if (r2) 543 *r2 = IPC_GET_ARG2( result);543 *r2 = IPC_GET_ARG2(&result); 544 544 545 545 if (r3) 546 *r3 = IPC_GET_ARG3( result);546 *r3 = IPC_GET_ARG3(&result); 547 547 548 548 if (r4) 549 *r4 = IPC_GET_ARG4( result);549 *r4 = IPC_GET_ARG4(&result); 550 550 551 551 if (r5) 552 *r5 = IPC_GET_ARG5( result);552 *r5 = IPC_GET_ARG5(&result); 553 553 554 554 return rc; … … 805 805 return rc; 806 806 807 *out_phone = (cap_phone_handle_t) IPC_GET_ARG5( result);807 *out_phone = (cap_phone_handle_t) IPC_GET_ARG5(&result); 808 808 return EOK; 809 809 }
Note:
See TracChangeset
for help on using the changeset viewer.