Changeset 27d293a in mainline for uspace/srv/rd/rd.c
- Timestamp:
- 2007-12-31T16:46:43Z (16 years ago)
- Branches:
- lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
- Children:
- 215e375
- Parents:
- 3115355
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
uspace/srv/rd/rd.c
r3115355 r27d293a 104 104 * Now we wait for the client to send us its communication as_area. 105 105 */ 106 callid = async_get_call(&call);107 if ( IPC_GET_METHOD(call) == IPC_M_AS_AREA_SEND) {108 if ( IPC_GET_ARG1(call) >= (ipcarg_t)BLOCK_SIZE) {106 size_t size; 107 if (ipc_share_out_receive(&callid, &size, NULL)) { 108 if (size >= BLOCK_SIZE) { 109 109 /* 110 110 * The client sends an as_area that can absorb the whole 111 111 * block. 112 112 */ 113 ipc_answer_1(callid, EOK, (uintptr_t)fs_va);113 (void) ipc_share_out_deliver(callid, fs_va); 114 114 } else { 115 115 /*
Note:
See TracChangeset
for help on using the changeset viewer.