Changeset fc22069 in mainline for uspace/lib/block


Ignore:
Timestamp:
2015-08-22T05:12:30Z (10 years ago)
Author:
Martin Decky <martin@…>
Branches:
lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
Children:
78bb04b
Parents:
d9e68d0
Message:

block devices use the same interface, therefore the API of libblock should not expose the implementation details

Location:
uspace/lib/block
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • uspace/lib/block/block.c

    rd9e68d0 rfc22069  
    144144}
    145145
    146 int block_init(exch_mgmt_t mgmt, service_id_t service_id,
    147     size_t comm_size)
     146int block_init(service_id_t service_id, size_t comm_size)
    148147{
    149148        bd_t *bd;
    150149
    151         async_sess_t *sess = loc_service_connect(mgmt, service_id,
     150        async_sess_t *sess = loc_service_connect(EXCHANGE_SERIALIZE, service_id,
    152151            IPC_FLAG_BLOCKING);
    153152        if (!sess) {
  • uspace/lib/block/block.h

    rd9e68d0 rfc22069  
    9999};
    100100
    101 extern int block_init(exch_mgmt_t, service_id_t, size_t);
     101extern int block_init(service_id_t, size_t);
    102102extern void block_fini(service_id_t);
    103103
Note: See TracChangeset for help on using the changeset viewer.