Changes in kernel/generic/src/ipc/ops/concttome.c [c33f39f:466e95f7] in mainline
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
kernel/generic/src/ipc/ops/concttome.c
rc33f39f r466e95f7 40 40 #include <arch.h> 41 41 42 static int request_preprocess(call_t *call, phone_t *phone)43 {44 /* Start with the assumption that there is no allocated phoneid. */45 IPC_SET_ARG5(call->data, -1);46 return EOK;47 }48 49 42 static int request_process(call_t *call, answerbox_t *box) 50 43 { … … 56 49 } 57 50 58 static voidanswer_cleanup(call_t *answer, ipc_data_t *olddata)51 static int answer_cleanup(call_t *answer, ipc_data_t *olddata) 59 52 { 60 53 int phoneid = (int) IPC_GET_ARG5(*olddata); … … 62 55 if (phoneid >= 0) 63 56 phone_dealloc(phoneid); 57 58 return EOK; 64 59 } 65 60 … … 91 86 92 87 sysipc_ops_t ipc_m_connect_to_me_ops = { 93 .request_preprocess = request_preprocess,88 .request_preprocess = null_request_preprocess, 94 89 .request_forget = null_request_forget, 95 90 .request_process = request_process,
Note:
See TracChangeset
for help on using the changeset viewer.