- Timestamp:
- 2017-12-09T18:21:29Z (8 years ago)
- Branches:
- lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
- Children:
- bd253241
- Parents:
- 071a1ddb (diff), 0016674 (diff)
Note: this is a merge changeset, the changes displayed below correspond to the merge itself.
Use the(diff)
links above to see all the changes relative to each parent. - git-author:
- Jiří Zárevúcky <zarevucky.jiri@…> (2017-12-09 18:21:29)
- git-committer:
- GitHub <noreply@…> (2017-12-09 18:21:29)
- Location:
- uspace/lib/c
- Files:
-
- 3 edited
Legend:
- Unmodified
- Added
- Removed
-
uspace/lib/c/generic/async.c
r071a1ddb r0722869 2398 2398 } 2399 2399 2400 int phone = ipc_connect_kbox(id); 2401 if (phone < 0) { 2402 errno = phone; 2400 cap_handle_t phone; 2401 int rc = ipc_connect_kbox(id, &phone); 2402 if (rc != EOK) { 2403 errno = rc; 2403 2404 free(sess); 2404 2405 return NULL; -
uspace/lib/c/generic/ipc.c
r071a1ddb r0722869 377 377 * 378 378 */ 379 int ipc_connect_kbox(task_id_t id) 380 { 381 #ifdef __32_BITS__ 382 sysarg64_t arg = (sysarg64_t) id; 383 return __SYSCALL1(SYS_IPC_CONNECT_KBOX, (sysarg_t) &arg); 384 #endif 385 386 #ifdef __64_BITS__ 387 return __SYSCALL1(SYS_IPC_CONNECT_KBOX, (sysarg_t) id); 388 #endif 379 int ipc_connect_kbox(task_id_t id, cap_handle_t *phone) 380 { 381 return __SYSCALL2(SYS_IPC_CONNECT_KBOX, (sysarg_t) &id, (sysarg_t) phone); 389 382 } 390 383 -
uspace/lib/c/include/ipc/ipc.h
r071a1ddb r0722869 122 122 sysarg_t, sysarg_t, sysarg_t, sysarg_t, unsigned int); 123 123 124 extern int ipc_connect_kbox(task_id_t );124 extern int ipc_connect_kbox(task_id_t, cap_handle_t *); 125 125 126 126 #endif
Note:
See TracChangeset
for help on using the changeset viewer.