Changeset eb522e8 in mainline for uspace/srv/fs/devfs/devfs.c
- Timestamp:
- 2011-06-01T08:43:42Z (14 years ago)
- Branches:
- lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
- Children:
- 8d6c1f1
- Parents:
- 9e2e715 (diff), e51a514 (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/srv/fs/devfs/devfs.c
r9e2e715 reb522e8 40 40 41 41 #include <stdio.h> 42 #include <ipc/ipc.h>43 42 #include <ipc/services.h> 43 #include <ipc/ns.h> 44 44 #include <async.h> 45 45 #include <errno.h> … … 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 … … 60 62 { 61 63 if (iid) 62 ipc_answer_0(iid, EOK);64 async_answer_0(iid, EOK); 63 65 64 66 while (true) { … … 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; … … 109 111 break; 110 112 default: 111 ipc_answer_0(callid, ENOTSUP);113 async_answer_0(callid, ENOTSUP); 112 114 break; 113 115 } … … 124 126 } 125 127 126 int vfs_phone = ipc_connect_me_to_blocking(PHONE_NS,SERVICE_VFS, 0, 0);128 int vfs_phone = service_connect_blocking(SERVICE_VFS, 0, 0); 127 129 if (vfs_phone < EOK) { 128 130 printf(NAME ": Unable to connect to VFS\n");
Note:
See TracChangeset
for help on using the changeset viewer.