Changeset b7fd2a0 in mainline for kernel/generic/src/ipc/ipc.c
- Timestamp:
- 2018-01-13T03:10:29Z (7 years ago)
- Branches:
- lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
- Children:
- a53ed3a
- Parents:
- 36f0738
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
kernel/generic/src/ipc/ipc.c
r36f0738 rb7fd2a0 208 208 * 209 209 */ 210 int ipc_call_sync(phone_t *phone, call_t *request)210 errno_t ipc_call_sync(phone_t *phone, call_t *request) 211 211 { 212 212 answerbox_t *mybox = slab_alloc(answerbox_cache, 0); … … 216 216 request->callerbox = mybox; 217 217 218 int rc = ipc_call(phone, request);218 errno_t rc = ipc_call(phone, request); 219 219 if (rc != EOK) { 220 220 slab_free(answerbox_cache, mybox); … … 371 371 * 372 372 */ 373 void ipc_backsend_err(phone_t *phone, call_t *call, int err)373 void ipc_backsend_err(phone_t *phone, call_t *call, errno_t err) 374 374 { 375 375 _ipc_call_actions_internal(phone, call, false); … … 415 415 * 416 416 */ 417 int ipc_call(phone_t *phone, call_t *call)417 errno_t ipc_call(phone_t *phone, call_t *call) 418 418 { 419 419 mutex_lock(&phone->lock); … … 448 448 * 449 449 */ 450 int ipc_phone_hangup(phone_t *phone)450 errno_t ipc_phone_hangup(phone_t *phone) 451 451 { 452 452 mutex_lock(&phone->lock); … … 495 495 * 496 496 */ 497 int ipc_forward(call_t *call, phone_t *newphone, answerbox_t *oldbox,497 errno_t ipc_forward(call_t *call, phone_t *newphone, answerbox_t *oldbox, 498 498 unsigned int mode) 499 499 { … … 535 535 uint64_t answer_cnt = 0; 536 536 uint64_t call_cnt = 0; 537 int rc;537 errno_t rc; 538 538 539 539 restart:
Note:
See TracChangeset
for help on using the changeset viewer.