Ignore:
File:
1 edited

Legend:

Unmodified
Added
Removed
  • uspace/lib/c/generic/bd.c

    rf9b2cb4c r4802dd7  
    5757        async_exch_t *exch = async_exchange_begin(sess);
    5858       
    59         port_id_t port;
    60         int rc = async_create_callback_port(exch, INTERFACE_BLOCK_CB, 0, 0,
    61             bd_cb_conn, bd, &port);
    62        
     59        int rc = async_connect_to_me(exch, 0, 0, 0, bd_cb_conn, bd);
    6360        async_exchange_end(exch);
    6461       
     
    153150}
    154151
    155 int bd_sync_cache(bd_t *bd, aoff64_t ba, size_t cnt)
    156 {
    157         async_exch_t *exch = async_exchange_begin(bd->sess);
    158 
    159         int rc = async_req_3_0(exch, BD_SYNC_CACHE, LOWER32(ba),
    160             UPPER32(ba), cnt);
    161         async_exchange_end(exch);
    162 
    163         return rc;
    164 }
    165 
    166152int bd_get_block_size(bd_t *bd, size_t *rbsize)
    167153{
Note: See TracChangeset for help on using the changeset viewer.