Changeset 1090b8c in mainline for uspace/lib/libblock/libblock.c


Ignore:
Timestamp:
2009-05-18T19:45:17Z (16 years ago)
Author:
Jiri Svoboda <jirik.svoboda@…>
Branches:
lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
Children:
c00589d
Parents:
c5747fe
Message:

C binding for devmap. Gets rid of duplicate code.

File:
1 edited

Legend:

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

    rc5747fe r1090b8c  
    147147                return ENOMEM;
    148148        }
    149         dev_phone = ipc_connect_me_to_blocking(PHONE_NS, SERVICE_DEVMAP,
    150             DEVMAP_CONNECT_TO_DEVICE, dev_handle);
    151 
     149
     150        dev_phone = devmap_device_connect(dev_handle, IPC_FLAG_BLOCKING);
    152151        if (dev_phone < 0) {
    153152                munmap(com_area, com_size);
Note: See TracChangeset for help on using the changeset viewer.