Changeset 3be9d10 in mainline for uspace/lib/drv/generic/remote_ahci.c
- Timestamp:
- 2018-03-21T21:29:31Z (7 years ago)
- Branches:
- lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
- Children:
- 3e242d2
- Parents:
- eadaeae8
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
uspace/lib/drv/generic/remote_ahci.c
readaeae8 r3be9d10 182 182 } 183 183 184 static void remote_ahci_get_sata_device_name(ddf_fun_t *, void *, ipc_callid_t,185 ipc_call_t *); 186 static void remote_ahci_get_num_blocks(ddf_fun_t *, void *, ipc_callid_t,187 ipc_call_t *); 188 static void remote_ahci_get_block_size(ddf_fun_t *, void *, ipc_callid_t,189 ipc_call_t *); 190 static void remote_ahci_read_blocks(ddf_fun_t *, void *, ipc_callid_t,191 ipc_call_t *); 192 static void remote_ahci_write_blocks(ddf_fun_t *, void *, ipc_callid_t,184 static void remote_ahci_get_sata_device_name(ddf_fun_t *, void *, cap_call_handle_t, 185 ipc_call_t *); 186 static void remote_ahci_get_num_blocks(ddf_fun_t *, void *, cap_call_handle_t, 187 ipc_call_t *); 188 static void remote_ahci_get_block_size(ddf_fun_t *, void *, cap_call_handle_t, 189 ipc_call_t *); 190 static void remote_ahci_read_blocks(ddf_fun_t *, void *, cap_call_handle_t, 191 ipc_call_t *); 192 static void remote_ahci_write_blocks(ddf_fun_t *, void *, cap_call_handle_t, 193 193 ipc_call_t *); 194 194 … … 210 210 211 211 void remote_ahci_get_sata_device_name(ddf_fun_t *fun, void *iface, 212 ipc_callid_t callid, ipc_call_t *call)212 cap_call_handle_t callid, ipc_call_t *call) 213 213 { 214 214 const ahci_iface_t *ahci_iface = (ahci_iface_t *) iface; … … 232 232 233 233 size_t real_size; 234 ipc_callid_t cid;234 cap_call_handle_t cid; 235 235 if ((async_data_read_receive(&cid, &real_size)) && 236 236 (real_size == sata_dev_name_length)) … … 242 242 243 243 static void remote_ahci_get_num_blocks(ddf_fun_t *fun, void *iface, 244 ipc_callid_t callid, ipc_call_t *call)244 cap_call_handle_t callid, ipc_call_t *call) 245 245 { 246 246 const ahci_iface_t *ahci_iface = (ahci_iface_t *) iface; … … 261 261 262 262 static void remote_ahci_get_block_size(ddf_fun_t *fun, void *iface, 263 ipc_callid_t callid, ipc_call_t *call)263 cap_call_handle_t callid, ipc_call_t *call) 264 264 { 265 265 const ahci_iface_t *ahci_iface = (ahci_iface_t *) iface; … … 280 280 281 281 void remote_ahci_read_blocks(ddf_fun_t *fun, void *iface, 282 ipc_callid_t callid, ipc_call_t *call)282 cap_call_handle_t callid, ipc_call_t *call) 283 283 { 284 284 const ahci_iface_t *ahci_iface = (ahci_iface_t *) iface; … … 292 292 unsigned int flags; 293 293 294 ipc_callid_t cid;294 cap_call_handle_t cid; 295 295 async_share_out_receive(&cid, &maxblock_size, &flags); 296 296 … … 308 308 } 309 309 310 void remote_ahci_write_blocks(ddf_fun_t *fun, void *iface, ipc_callid_t callid,310 void remote_ahci_write_blocks(ddf_fun_t *fun, void *iface, cap_call_handle_t callid, 311 311 ipc_call_t *call) 312 312 { … … 321 321 unsigned int flags; 322 322 323 ipc_callid_t cid;323 cap_call_handle_t cid; 324 324 async_share_out_receive(&cid, &maxblock_size, &flags); 325 325
Note:
See TracChangeset
for help on using the changeset viewer.