Changeset 3be9d10 in mainline for uspace/lib/drv/generic/remote_ahci.c


Ignore:
Timestamp:
2018-03-21T21:29:31Z (7 years ago)
Author:
Jakub Jermar <jakub@…>
Branches:
lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
Children:
3e242d2
Parents:
eadaeae8
Message:

Get rid of ipc_callid_t

File:
1 edited

Legend:

Unmodified
Added
Removed
  • uspace/lib/drv/generic/remote_ahci.c

    readaeae8 r3be9d10  
    182182}
    183183
    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,
     184static void remote_ahci_get_sata_device_name(ddf_fun_t *, void *, cap_call_handle_t,
     185    ipc_call_t *);
     186static void remote_ahci_get_num_blocks(ddf_fun_t *, void *, cap_call_handle_t,
     187    ipc_call_t *);
     188static void remote_ahci_get_block_size(ddf_fun_t *, void *, cap_call_handle_t,
     189    ipc_call_t *);
     190static void remote_ahci_read_blocks(ddf_fun_t *, void *, cap_call_handle_t,
     191    ipc_call_t *);
     192static void remote_ahci_write_blocks(ddf_fun_t *, void *, cap_call_handle_t,
    193193    ipc_call_t *);
    194194
     
    210210
    211211void 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)
    213213{
    214214        const ahci_iface_t *ahci_iface = (ahci_iface_t *) iface;
     
    232232
    233233        size_t real_size;
    234         ipc_callid_t cid;
     234        cap_call_handle_t cid;
    235235        if ((async_data_read_receive(&cid, &real_size)) &&
    236236            (real_size == sata_dev_name_length))
     
    242242
    243243static 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)
    245245{
    246246        const ahci_iface_t *ahci_iface = (ahci_iface_t *) iface;
     
    261261
    262262static 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)
    264264{
    265265        const ahci_iface_t *ahci_iface = (ahci_iface_t *) iface;
     
    280280
    281281void 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)
    283283{
    284284        const ahci_iface_t *ahci_iface = (ahci_iface_t *) iface;
     
    292292        unsigned int flags;
    293293
    294         ipc_callid_t cid;
     294        cap_call_handle_t cid;
    295295        async_share_out_receive(&cid, &maxblock_size, &flags);
    296296
     
    308308}
    309309
    310 void remote_ahci_write_blocks(ddf_fun_t *fun, void *iface, ipc_callid_t callid,
     310void remote_ahci_write_blocks(ddf_fun_t *fun, void *iface, cap_call_handle_t callid,
    311311    ipc_call_t *call)
    312312{
     
    321321        unsigned int flags;
    322322
    323         ipc_callid_t cid;
     323        cap_call_handle_t cid;
    324324        async_share_out_receive(&cid, &maxblock_size, &flags);
    325325
Note: See TracChangeset for help on using the changeset viewer.