Changeset ff381a7 in mainline for uspace/srv/bd
- Timestamp:
- 2015-11-02T20:54:19Z (10 years ago)
- Branches:
- lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
- Children:
- d8513177
- Parents:
- 3feeab2 (diff), 5265eea4 (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/bd
- Files:
-
- 7 edited
Legend:
- Unmodified
- Added
- Removed
-
uspace/srv/bd/file_bd/file_bd.c
r3feeab2 rff381a7 157 157 bd_srvs.ops = &file_bd_ops; 158 158 159 async_set_ client_connection(file_bd_connection);159 async_set_fallback_port_handler(file_bd_connection, NULL); 160 160 int rc = loc_server_register(NAME); 161 161 if (rc != EOK) { -
uspace/srv/bd/part/guid_part/guid_part.c
r3feeab2 rff381a7 160 160 } 161 161 162 rc = block_init( EXCHANGE_SERIALIZE,indev_sid, 2048);162 rc = block_init(indev_sid, 2048); 163 163 if (rc != EOK) { 164 164 printf(NAME ": could not init libblock.\n"); … … 185 185 186 186 /* Register server with location service. */ 187 async_set_ client_connection(gpt_connection);187 async_set_fallback_port_handler(gpt_connection, NULL); 188 188 rc = loc_server_register(NAME); 189 189 if (rc != EOK) { … … 339 339 340 340 /* Get the device handle. */ 341 dh = IPC_GET_ARG 1(*icall);342 343 /* 341 dh = IPC_GET_ARG2(*icall); 342 343 /* 344 344 * Determine which partition device is the client connecting to. 345 345 * A linear search is not terribly fast, but we only do this -
uspace/srv/bd/part/mbr_part/mbr_part.c
r3feeab2 rff381a7 210 210 } 211 211 212 rc = block_init( EXCHANGE_SERIALIZE,indev_sid, 2048);212 rc = block_init(indev_sid, 2048); 213 213 if (rc != EOK) { 214 214 printf(NAME ": could not init libblock.\n"); … … 235 235 236 236 /* Register server with location service. */ 237 async_set_ client_connection(mbr_connection);237 async_set_fallback_port_handler(mbr_connection, NULL); 238 238 rc = loc_server_register(NAME); 239 239 if (rc != EOK) { … … 416 416 417 417 /* Get the device handle. */ 418 dh = IPC_GET_ARG 1(*icall);419 420 /* 418 dh = IPC_GET_ARG2(*icall); 419 420 /* 421 421 * Determine which partition device is the client connecting to. 422 422 * A linear search is not terribly fast, but we only do this -
uspace/srv/bd/rd/rd.c
r3feeab2 rff381a7 178 178 bd_srvs.ops = &rd_bd_ops; 179 179 180 async_set_ client_connection(rd_client_conn);180 async_set_fallback_port_handler(rd_client_conn, NULL); 181 181 ret = loc_server_register(NAME); 182 182 if (ret != EOK) { -
uspace/srv/bd/sata_bd/sata_bd.c
r3feeab2 rff381a7 172 172 173 173 /* Get the device service ID. */ 174 dsid = IPC_GET_ARG 1(*icall);174 dsid = IPC_GET_ARG2(*icall); 175 175 176 176 /* Determine which disk device is the client connecting to. */ … … 247 247 int rc; 248 248 249 async_set_ client_connection(sata_bd_connection);249 async_set_fallback_port_handler(sata_bd_connection, NULL); 250 250 rc = loc_server_register(NAME); 251 251 if (rc < 0) { -
uspace/srv/bd/vbd/disk.c
r3feeab2 rff381a7 360 360 rc = vbds_disk_by_svcid(sid, &disk); 361 361 if (rc == EOK) 362 return EEXIST S;362 return EEXIST; 363 363 364 364 disk = calloc(1, sizeof(vbds_disk_t)); … … 374 374 375 375 log_msg(LOG_DEFAULT, LVL_DEBUG, "block_init(%zu)", sid); 376 rc = block_init( EXCHANGE_SERIALIZE,sid, 2048);376 rc = block_init(sid, 2048); 377 377 if (rc != EOK) { 378 378 log_msg(LOG_DEFAULT, LVL_ERROR, "Failed opening block device %s.", … … 872 872 log_msg(LOG_DEFAULT, LVL_DEBUG, "vbds_bd_conn()"); 873 873 874 svcid = IPC_GET_ARG 1(*icall);874 svcid = IPC_GET_ARG2(*icall); 875 875 876 876 log_msg(LOG_DEFAULT, LVL_DEBUG, "vbds_bd_conn() - svcid=%zu", svcid); -
uspace/srv/bd/vbd/vbd.c
r3feeab2 rff381a7 64 64 return rc; 65 65 66 async_set_ client_connection(vbds_client_conn);66 async_set_fallback_port_handler(vbds_client_conn, NULL); 67 67 68 68 rc = loc_server_register(NAME); … … 415 415 log_msg(LOG_DEFAULT, LVL_DEBUG, "vbds_client_conn()"); 416 416 417 sid = (service_id_t)IPC_GET_ARG 1(*icall);417 sid = (service_id_t)IPC_GET_ARG2(*icall); 418 418 419 419 if (sid == ctl_sid)
Note:
See TracChangeset
for help on using the changeset viewer.