Changes in kernel/generic/src/ipc/ops/concttome.c [466e95f7:c33f39f] in mainline
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
kernel/generic/src/ipc/ops/concttome.c
r466e95f7 rc33f39f 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 42 49 static int request_process(call_t *call, answerbox_t *box) 43 50 { … … 49 56 } 50 57 51 static intanswer_cleanup(call_t *answer, ipc_data_t *olddata)58 static void answer_cleanup(call_t *answer, ipc_data_t *olddata) 52 59 { 53 60 int phoneid = (int) IPC_GET_ARG5(*olddata); … … 55 62 if (phoneid >= 0) 56 63 phone_dealloc(phoneid); 57 58 return EOK;59 64 } 60 65 … … 86 91 87 92 sysipc_ops_t ipc_m_connect_to_me_ops = { 88 .request_preprocess = null_request_preprocess,93 .request_preprocess = request_preprocess, 89 94 .request_forget = null_request_forget, 90 95 .request_process = request_process,
Note:
See TracChangeset
for help on using the changeset viewer.