Changeset 32e4643 in mainline
- Timestamp:
- 2012-08-21T20:56:15Z (12 years ago)
- Branches:
- lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
- Children:
- 1b186ed
- Parents:
- 0343a1b
- Location:
- kernel/generic
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
kernel/generic/include/ipc/ipc.h
r0343a1b r32e4643 143 143 /** Data passed from/to userspace. */ 144 144 ipc_data_t data; 145 145 146 /** Method as it was sent in the request. */ 147 sysarg_t request_method; 148 146 149 /** Buffer for IPC_M_DATA_WRITE and IPC_M_DATA_READ. */ 147 150 uint8_t *buffer; -
kernel/generic/src/ipc/sysipc.c
r0343a1b r32e4643 198 198 199 199 200 sysipc_ops_t *ops = sysipc_ops_get( IPC_GET_IMETHOD(*olddata));200 sysipc_ops_t *ops = sysipc_ops_get(answer->request_method); 201 201 if (ops->answer_preprocess) 202 202 rc = ops->answer_preprocess(answer, olddata); … … 219 219 int rc = EOK; 220 220 221 sysipc_ops_t *ops = sysipc_ops_get(IPC_GET_IMETHOD(call->data)); 221 call->request_method = IPC_GET_IMETHOD(call->data); 222 223 sysipc_ops_t *ops = sysipc_ops_get(call->request_method); 222 224 if (ops->request_preprocess) 223 225 rc = ops->request_preprocess(call, phone); … … 262 264 call->buffer = NULL; 263 265 } 266 267 sysipc_ops_t *ops = sysipc_ops_get(call->request_method); 268 if (ops->answer_process) 269 (void) ops->answer_process(call); 264 270 } 265 271 … … 278 284 int rc = EOK; 279 285 280 sysipc_ops_t *ops = sysipc_ops_get( IPC_GET_IMETHOD(call->data));286 sysipc_ops_t *ops = sysipc_ops_get(call->request_method); 281 287 if (ops->request_process) 282 288 rc = ops->request_process(call, box);
Note:
See TracChangeset
for help on using the changeset viewer.