Changeset 87b4baa in mainline for uspace/lib/c/generic/devmap.c
- Timestamp:
- 2010-12-17T20:16:46Z (14 years ago)
- Branches:
- lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
- Children:
- 424558a
- Parents:
- 463e734 (diff), bbc74af7 (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/lib/c/generic/devmap.c
r463e734 r87b4baa 107 107 aid_t req = async_send_2(phone, DEVMAP_DRIVER_REGISTER, 0, 0, &answer); 108 108 109 ipcarg_t retval = async_data_write_start(phone, name, str_size(name));109 sysarg_t retval = async_data_write_start(phone, name, str_size(name)); 110 110 if (retval != EOK) { 111 111 async_wait_for(req, NULL); … … 116 116 async_set_client_connection(conn); 117 117 118 ipcarg_t callback_phonehash;118 sysarg_t callback_phonehash; 119 119 ipc_connect_to_me(phone, 0, 0, 0, &callback_phonehash); 120 120 async_wait_for(req, &retval); … … 145 145 &answer); 146 146 147 ipcarg_t retval = async_data_write_start(phone, fqdn, str_size(fqdn));147 sysarg_t retval = async_data_write_start(phone, fqdn, str_size(fqdn)); 148 148 if (retval != EOK) { 149 149 async_wait_for(req, NULL); … … 181 181 &answer); 182 182 183 ipcarg_t retval = async_data_write_start(phone, fqdn, str_size(fqdn));183 sysarg_t retval = async_data_write_start(phone, fqdn, str_size(fqdn)); 184 184 if (retval != EOK) { 185 185 async_wait_for(req, NULL); … … 217 217 &answer); 218 218 219 ipcarg_t retval = async_data_write_start(phone, name, str_size(name));219 sysarg_t retval = async_data_write_start(phone, name, str_size(name)); 220 220 if (retval != EOK) { 221 221 async_wait_for(req, NULL); … … 247 247 return phone; 248 248 249 ipcarg_t type;249 sysarg_t type; 250 250 int retval = async_req_1_1(phone, DEVMAP_HANDLE_PROBE, handle, &type); 251 251 if (retval != EOK) … … 277 277 return -1; 278 278 279 ipcarg_t null_id;279 sysarg_t null_id; 280 280 int retval = async_req_0_1(phone, DEVMAP_NULL_CREATE, &null_id); 281 281 if (retval != EOK) … … 292 292 return; 293 293 294 async_req_1_0(phone, DEVMAP_NULL_DESTROY, ( ipcarg_t) null_id);294 async_req_1_0(phone, DEVMAP_NULL_DESTROY, (sysarg_t) null_id); 295 295 } 296 296 297 297 static size_t devmap_count_namespaces_internal(int phone) 298 298 { 299 ipcarg_t count;299 sysarg_t count; 300 300 int retval = async_req_0_1(phone, DEVMAP_GET_NAMESPACE_COUNT, &count); 301 301 if (retval != EOK) … … 307 307 static size_t devmap_count_devices_internal(int phone, devmap_handle_t ns_handle) 308 308 { 309 ipcarg_t count;309 sysarg_t count; 310 310 int retval = async_req_1_1(phone, DEVMAP_GET_DEVICE_COUNT, ns_handle, &count); 311 311 if (retval != EOK) … … 375 375 } 376 376 377 ipcarg_t retval;377 sysarg_t retval; 378 378 async_wait_for(req, &retval); 379 379 async_serialize_end(); … … 427 427 } 428 428 429 ipcarg_t retval;429 sysarg_t retval; 430 430 async_wait_for(req, &retval); 431 431 async_serialize_end();
Note:
See TracChangeset
for help on using the changeset viewer.