Changeset 2133e02 in mainline for uspace/srv
- Timestamp:
- 2015-08-18T20:14:05Z (10 years ago)
- Branches:
- lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
- Children:
- 1a522e5
- Parents:
- 84dc30c
- Location:
- uspace/srv
- Files:
-
- 12 edited
-
fs/cdfs/cdfs.c (modified) (1 diff)
-
fs/exfat/exfat.c (modified) (1 diff)
-
fs/ext4fs/ext4fs.c (modified) (1 diff)
-
fs/fat/fat.c (modified) (1 diff)
-
fs/locfs/locfs.c (modified) (1 diff)
-
fs/mfs/mfs.c (modified) (1 diff)
-
fs/tmpfs/tmpfs.c (modified) (1 diff)
-
fs/udf/udf.c (modified) (1 diff)
-
hid/input/input.c (modified) (1 diff)
-
ns/clonable.c (modified) (1 diff)
-
ns/ns.c (modified) (4 diffs)
-
ns/service.c (modified) (5 diffs)
Legend:
- Unmodified
- Added
- Removed
-
uspace/srv/fs/cdfs/cdfs.c
r84dc30c r2133e02 74 74 75 75 async_sess_t *vfs_sess = service_connect_blocking(EXCHANGE_SERIALIZE, 76 SERVICE_VFS, 0 , 0);76 SERVICE_VFS, 0); 77 77 if (!vfs_sess) { 78 78 printf("%s: Unable to connect to VFS\n", NAME); -
uspace/srv/fs/exfat/exfat.c
r84dc30c r2133e02 76 76 77 77 async_sess_t *vfs_sess = service_connect_blocking(EXCHANGE_SERIALIZE, 78 SERVICE_VFS, 0 , 0);78 SERVICE_VFS, 0); 79 79 if (!vfs_sess) { 80 80 printf(NAME ": failed to connect to VFS\n"); -
uspace/srv/fs/ext4fs/ext4fs.c
r84dc30c r2133e02 66 66 67 67 async_sess_t *vfs_sess = service_connect_blocking(EXCHANGE_SERIALIZE, 68 SERVICE_VFS, 0 , 0);68 SERVICE_VFS, 0); 69 69 if (!vfs_sess) { 70 70 printf("%s: Failed to connect to VFS\n", NAME); -
uspace/srv/fs/fat/fat.c
r84dc30c r2133e02 76 76 77 77 async_sess_t *vfs_sess = service_connect_blocking(EXCHANGE_SERIALIZE, 78 SERVICE_VFS, 0 , 0);78 SERVICE_VFS, 0); 79 79 if (!vfs_sess) { 80 80 printf(NAME ": failed to connect to VFS\n"); -
uspace/srv/fs/locfs/locfs.c
r84dc30c r2133e02 78 78 79 79 async_sess_t *vfs_sess = service_connect_blocking(EXCHANGE_SERIALIZE, 80 SERVICE_VFS, 0 , 0);80 SERVICE_VFS, 0); 81 81 if (!vfs_sess) { 82 82 printf("%s: Unable to connect to VFS\n", NAME); -
uspace/srv/fs/mfs/mfs.c
r84dc30c r2133e02 74 74 75 75 async_sess_t *vfs_sess = service_connect_blocking(EXCHANGE_SERIALIZE, 76 SERVICE_VFS, 0 , 0);76 SERVICE_VFS, 0); 77 77 78 78 if (!vfs_sess) { -
uspace/srv/fs/tmpfs/tmpfs.c
r84dc30c r2133e02 81 81 82 82 async_sess_t *vfs_sess = service_connect_blocking(EXCHANGE_SERIALIZE, 83 SERVICE_VFS, 0 , 0);83 SERVICE_VFS, 0); 84 84 if (!vfs_sess) { 85 85 printf(NAME ": Unable to connect to VFS\n"); -
uspace/srv/fs/udf/udf.c
r84dc30c r2133e02 74 74 75 75 async_sess_t *vfs_sess = 76 service_connect_blocking(EXCHANGE_SERIALIZE, SERVICE_VFS, 0 , 0);76 service_connect_blocking(EXCHANGE_SERIALIZE, SERVICE_VFS, 0); 77 77 if (!vfs_sess) { 78 78 log_msg(LOG_DEFAULT, LVL_FATAL, "Failed to connect to VFS"); -
uspace/srv/hid/input/input.c
r84dc30c r2133e02 746 746 while (irc_sess == NULL) 747 747 irc_sess = service_connect_blocking(EXCHANGE_SERIALIZE, 748 SERVICE_IRC, 0 , 0);748 SERVICE_IRC, 0); 749 749 } 750 750 -
uspace/srv/ns/clonable.c
r84dc30c r2133e02 94 94 ipc_answer_0(callid, EOK); 95 95 96 ipc_forward_fast(csr->callid, phone, IPC_GET_ARG 2(csr->call),96 ipc_forward_fast(csr->callid, phone, IPC_GET_ARG1(csr->call), 97 97 IPC_GET_ARG3(csr->call), 0, IPC_FF_NONE); 98 98 -
uspace/srv/ns/ns.c
r84dc30c r2133e02 39 39 #include <ipc/ns.h> 40 40 #include <ipc/services.h> 41 #include <abi/ipc/interfaces.h> 41 42 #include <stdio.h> 42 43 #include <errno.h> … … 74 75 sysarg_t retval; 75 76 77 iface_t iface; 76 78 service_t service; 77 79 sysarg_t phone; … … 82 84 break; 83 85 case IPC_M_CONNECT_TO_ME: 84 service = IPC_GET_ARG1(call); 86 iface = IPC_GET_ARG1(call); 87 service = IPC_GET_ARG2(call); 85 88 phone = IPC_GET_ARG5(call); 89 90 (void) iface; 86 91 87 92 /* … … 96 101 break; 97 102 case IPC_M_CONNECT_ME_TO: 98 service = IPC_GET_ARG1(call); 103 iface = IPC_GET_ARG1(call); 104 service = IPC_GET_ARG2(call); 105 106 (void) iface; 99 107 100 108 /* -
uspace/srv/ns/service.c
r84dc30c r2133e02 39 39 #include "service.h" 40 40 #include "ns.h" 41 42 41 43 42 /** Service hash table item. */ … … 84 83 sysarg_t service; /**< Number of the service. */ 85 84 ipc_callid_t callid; /**< Call ID waiting for the connection */ 86 sysarg_t arg2; /**< Secondargument */85 sysarg_t iface; /**< Interface argument */ 87 86 sysarg_t arg3; /**< Third argument */ 88 87 } pending_conn_t; … … 112 111 113 112 hashed_service_t *hs = hash_table_get_inst(link, hashed_service_t, link); 114 (void) ipc_forward_fast(pr->callid, hs->phone, pr-> arg2,115 pr->arg3, 0,IPC_FF_NONE);113 (void) ipc_forward_fast(pr->callid, hs->phone, pr->iface, pr->arg3, 0, 114 IPC_FF_NONE); 116 115 117 116 list_remove(&pr->link); … … 174 173 pr->service = service; 175 174 pr->callid = callid; 176 pr-> arg2 = IPC_GET_ARG2(*call);175 pr->iface = IPC_GET_ARG1(*call); 177 176 pr->arg3 = IPC_GET_ARG3(*call); 178 177 list_append(&pr->link, &pending_conn); 179 178 return; 180 179 } 180 181 181 retval = ENOENT; 182 182 goto out; … … 184 184 185 185 hashed_service_t *hs = hash_table_get_inst(link, hashed_service_t, link); 186 (void) ipc_forward_fast(callid, hs->phone, IPC_GET_ARG 2(*call),186 (void) ipc_forward_fast(callid, hs->phone, IPC_GET_ARG1(*call), 187 187 IPC_GET_ARG3(*call), 0, IPC_FF_NONE); 188 188 return;
Note:
See TracChangeset
for help on using the changeset viewer.
