Changes in kernel/generic/src/ipc/ops/sharein.c [fafb8e5:174156fd] in mainline
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
kernel/generic/src/ipc/ops/sharein.c
rfafb8e5 r174156fd 43 43 static errno_t answer_preprocess(call_t *answer, ipc_data_t *olddata) 44 44 { 45 if (! ipc_get_retval(&answer->data)) {45 if (!IPC_GET_RETVAL(answer->data)) { 46 46 irq_spinlock_lock(&answer->sender->lock, true); 47 47 as_t *as = answer->sender->as; … … 49 49 50 50 uintptr_t dst_base = (uintptr_t) -1; 51 errno_t rc = as_area_share(AS, ipc_get_arg1(&answer->data),52 ipc_get_arg1(olddata), as, ipc_get_arg2(&answer->data),53 &dst_base, ipc_get_arg2(olddata));54 ipc_set_arg5(&answer->data, dst_base);55 ipc_set_retval(&answer->data, rc);51 errno_t rc = as_area_share(AS, IPC_GET_ARG1(answer->data), 52 IPC_GET_ARG1(*olddata), as, IPC_GET_ARG2(answer->data), 53 &dst_base, IPC_GET_ARG2(*olddata)); 54 IPC_SET_ARG5(answer->data, dst_base); 55 IPC_SET_RETVAL(answer->data, rc); 56 56 } 57 57
Note:
See TracChangeset
for help on using the changeset viewer.