Changeset f2962621 in mainline for uspace/lib/packet/generic/packet_server.c
- Timestamp:
- 2010-12-17T10:14:01Z (14 years ago)
- Branches:
- lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
- Children:
- 6e5dc07
- Parents:
- 9223dc5c (diff), 11658b64 (diff)
Note: this is a merge changeset, the changes displayed below correspond to the merge itself.
Use the(diff)
links above to see all the changes relative to each parent. - File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
uspace/lib/packet/generic/packet_server.c
r9223dc5c rf2962621 327 327 328 328 *answer_count = 0; 329 switch (IPC_GET_ METHOD(*call)) {329 switch (IPC_GET_IMETHOD(*call)) { 330 330 case IPC_M_PHONE_HUNGUP: 331 331 return EOK; … … 337 337 return ENOMEM; 338 338 *answer_count = 2; 339 IPC_SET_ARG1(*answer, ( ipcarg_t) packet->packet_id);340 IPC_SET_ARG2(*answer, ( ipcarg_t) packet->length);339 IPC_SET_ARG1(*answer, (sysarg_t) packet->packet_id); 340 IPC_SET_ARG2(*answer, (sysarg_t) packet->length); 341 341 return EOK; 342 342 … … 351 351 return ENOMEM; 352 352 *answer_count = 2; 353 IPC_SET_ARG1(*answer, ( ipcarg_t) packet->packet_id);354 IPC_SET_ARG2(*answer, ( ipcarg_t) packet->length);353 IPC_SET_ARG1(*answer, (sysarg_t) packet->packet_id); 354 IPC_SET_ARG2(*answer, (sysarg_t) packet->length); 355 355 return EOK; 356 356 … … 365 365 if (!packet_is_valid(packet)) 366 366 return ENOENT; 367 IPC_SET_ARG1(*answer, ( ipcarg_t) packet->length);367 IPC_SET_ARG1(*answer, (sysarg_t) packet->length); 368 368 *answer_count = 1; 369 369 return EOK;
Note:
See TracChangeset
for help on using the changeset viewer.