Changeset 4f13e19 in mainline for uspace/srv/devman/main.c


Ignore:
Timestamp:
2019-01-20T15:56:59Z (6 years ago)
Author:
GitHub <noreply@…>
Branches:
lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
Children:
d8cb48d
Parents:
eefdd7c
git-author:
Jiří Zárevúcky <zarevucky.jiri@…> (2019-01-20 15:56:59)
git-committer:
GitHub <noreply@…> (2019-01-20 15:56:59)
Message:

Remove async "fast" and "slow" functions from public interface (#153)

"fast" and "slow" paths are implementation detail.
All macros in <async.h> are turned into external functions, so that
this implementation detail doesn't leak. Additionally, removing macros is
A Good Thing on its own, e.g. helping C++ interoperability.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • uspace/srv/devman/main.c

    reefdd7c r4f13e19  
    136136
    137137        async_exch_t *exch = async_exchange_begin(driver->sess);
    138         async_forward_fast(icall, exch, INTERFACE_DDF_CLIENT, handle, 0, IPC_FF_NONE);
     138        async_forward_1(icall, exch, INTERFACE_DDF_CLIENT, handle, IPC_FF_NONE);
    139139        async_exchange_end(exch);
    140140
     
    215215
    216216        async_exch_t *exch = async_exchange_begin(driver->sess);
    217         async_forward_fast(icall, exch, INTERFACE_DDF_DRIVER, fun_handle, 0, IPC_FF_NONE);
     217        async_forward_1(icall, exch, INTERFACE_DDF_DRIVER, fun_handle, IPC_FF_NONE);
    218218        async_exchange_end(exch);
    219219
     
    250250
    251251        async_exch_t *exch = async_exchange_begin(driver->sess);
    252         async_forward_fast(icall, exch, iface, handle, 0, IPC_FF_NONE);
     252        async_forward_1(icall, exch, iface, handle, IPC_FF_NONE);
    253253        async_exchange_end(exch);
    254254
Note: See TracChangeset for help on using the changeset viewer.