Changeset 27d293a in mainline for uspace/srv/vfs/vfs_register.c
- Timestamp:
- 2007-12-31T16:46:43Z (17 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/vfs/vfs_register.c
r3115355 r27d293a 271 271 * The client will want us to send him the address space area with PLB. 272 272 */ 273 callid = async_get_call(&call); 274 if ( IPC_GET_METHOD(call) != IPC_M_AS_AREA_RECV) {273 274 if (!ipc_share_in_receive(&callid, &size)) { 275 275 dprintf("Unexpected call, method = %d\n", IPC_GET_METHOD(call)); 276 276 list_remove(&fs_info->fs_link); … … 286 286 * We can only send the client address space area PLB_SIZE bytes long. 287 287 */ 288 size = IPC_GET_ARG2(call);289 288 if (size != PLB_SIZE) { 290 289 dprintf("Client suggests wrong size of PFB, size = %d\n", size); … … 301 300 * Commit to read-only sharing the PLB with the client. 302 301 */ 303 ipc_answer_2(callid, EOK, (ipcarg_t)plb,304 (ipcarg_t) (AS_AREA_READ | AS_AREA_CACHEABLE));302 (void) ipc_share_in_deliver(callid, plb, 303 AS_AREA_READ | AS_AREA_CACHEABLE); 305 304 306 305 dprintf("Sharing PLB.\n");
Note:
See TracChangeset
for help on using the changeset viewer.