Changeset 3115355 in mainline for uspace/srv/devmap/devmap.c


Ignore:
Timestamp:
2007-12-31T10:14:38Z (16 years ago)
Author:
Jakub Jermar <jakub@…>
Branches:
lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
Children:
27d293a
Parents:
badbd888
Message:

Simplify the IPC_M_DATA_WRITE protocol. Do not pass the source address space
virtual address to the recipient. This feature was not used anyway. Now
IPC_M_DATA_WRITE and IPC_M_DATA_READ are feature-aligned.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • uspace/srv/devmap/devmap.c

    rbadbd888 r3115355  
    203203         * Get driver name
    204204         */
    205         if (!ipc_data_write_receive(&callid, NULL, &name_size)) {
     205        if (!ipc_data_write_receive(&callid, &name_size)) {
    206206                printf("Unexpected request.\n");
    207207                free(driver);
     
    369369       
    370370        /* Get device name */
    371         if (!ipc_data_write_receive(&callid, NULL, &size)) {
     371        if (!ipc_data_write_receive(&callid, &size)) {
    372372                free(device);
    373373                printf("Cannot read device name.\n");
     
    490490         * read the name itself until the buffer is allocated).
    491491         */
    492         if (!ipc_data_write_receive(&callid, NULL, &name_size)) {
     492        if (!ipc_data_write_receive(&callid, &name_size)) {
    493493                ipc_answer_0(callid, EREFUSED);
    494494                ipc_answer_0(iid, EREFUSED);
Note: See TracChangeset for help on using the changeset viewer.