Changeset 7bdcc45 in mainline for uspace/srv/fs
- Timestamp:
- 2010-12-16T16:38:49Z (15 years ago)
- Branches:
- lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
- Children:
- 7837101
- Parents:
- 8e58f94 (diff), eb221e5 (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. - Location:
- uspace/srv/fs
- Files:
-
- 5 edited
-
devfs/devfs.c (modified) (2 diffs)
-
devfs/devfs_ops.c (modified) (7 diffs)
-
fat/fat.c (modified) (2 diffs)
-
fat/fat_ops.c (modified) (1 diff)
-
tmpfs/tmpfs.c (modified) (2 diffs)
Legend:
- Unmodified
- Added
- Removed
-
uspace/srv/fs/devfs/devfs.c
r8e58f94 r7bdcc45 53 53 static vfs_info_t devfs_vfs_info = { 54 54 .name = NAME, 55 .concurrent_read_write = false, 56 .write_retains_size = false, 55 57 }; 56 58 … … 66 68 ipc_callid_t callid = async_get_call(&call); 67 69 68 switch (IPC_GET_ METHOD(call)) {70 switch (IPC_GET_IMETHOD(call)) { 69 71 case IPC_M_PHONE_HUNGUP: 70 72 return; -
uspace/srv/fs/devfs/devfs_ops.c
r8e58f94 r7bdcc45 420 420 421 421 /* Accept the mount options */ 422 ipcarg_t retval = async_data_write_accept((void **) &opts, true, 0, 0,422 sysarg_t retval = async_data_write_accept((void **) &opts, true, 0, 0, 423 423 0, NULL); 424 424 if (retval != EOK) { … … 575 575 /* Make a request at the driver */ 576 576 ipc_call_t answer; 577 aid_t msg = async_send_3(dev->phone, IPC_GET_ METHOD(*request),577 aid_t msg = async_send_3(dev->phone, IPC_GET_IMETHOD(*request), 578 578 IPC_GET_ARG1(*request), IPC_GET_ARG2(*request), 579 579 IPC_GET_ARG3(*request), &answer); … … 584 584 585 585 /* Wait for reply from the driver. */ 586 ipcarg_t rc;586 sysarg_t rc; 587 587 async_wait_for(msg, &rc); 588 588 size_t bytes = IPC_GET_ARG1(answer); … … 638 638 /* Make a request at the driver */ 639 639 ipc_call_t answer; 640 aid_t msg = async_send_3(dev->phone, IPC_GET_ METHOD(*request),640 aid_t msg = async_send_3(dev->phone, IPC_GET_IMETHOD(*request), 641 641 IPC_GET_ARG1(*request), IPC_GET_ARG2(*request), 642 642 IPC_GET_ARG3(*request), &answer); … … 648 648 649 649 /* Wait for reply from the driver. */ 650 ipcarg_t rc;650 sysarg_t rc; 651 651 async_wait_for(msg, &rc); 652 652 size_t bytes = IPC_GET_ARG1(answer); … … 746 746 /* Make a request at the driver */ 747 747 ipc_call_t answer; 748 aid_t msg = async_send_2(dev->phone, IPC_GET_ METHOD(*request),748 aid_t msg = async_send_2(dev->phone, IPC_GET_IMETHOD(*request), 749 749 IPC_GET_ARG1(*request), IPC_GET_ARG2(*request), &answer); 750 750 … … 752 752 753 753 /* Wait for reply from the driver */ 754 ipcarg_t rc;754 sysarg_t rc; 755 755 async_wait_for(msg, &rc); 756 756 -
uspace/srv/fs/fat/fat.c
r8e58f94 r7bdcc45 52 52 vfs_info_t fat_vfs_info = { 53 53 .name = NAME, 54 .concurrent_read_write = false, 55 .write_retains_size = false, 54 56 }; 55 57 … … 91 93 92 94 callid = async_get_call(&call); 93 switch (IPC_GET_ METHOD(call)) {95 switch (IPC_GET_IMETHOD(call)) { 94 96 case IPC_M_PHONE_HUNGUP: 95 97 return; -
uspace/srv/fs/fat/fat_ops.c
r8e58f94 r7bdcc45 1257 1257 1258 1258 rc = fat_node_put(fn); 1259 ipc_answer_1(rid, rc, ( ipcarg_t)bytes);1259 ipc_answer_1(rid, rc, (sysarg_t)bytes); 1260 1260 } 1261 1261 -
uspace/srv/fs/tmpfs/tmpfs.c
r8e58f94 r7bdcc45 57 57 vfs_info_t tmpfs_vfs_info = { 58 58 .name = NAME, 59 .concurrent_read_write = false, 60 .write_retains_size = false, 59 61 }; 60 62 … … 97 99 98 100 callid = async_get_call(&call); 99 switch (IPC_GET_ METHOD(call)) {101 switch (IPC_GET_IMETHOD(call)) { 100 102 case IPC_M_PHONE_HUNGUP: 101 103 return;
Note:
See TracChangeset
for help on using the changeset viewer.
