Changeset 984a9ba in mainline for uspace/lib/drv/include/dev_iface.h


Ignore:
Timestamp:
2018-07-05T09:34:09Z (6 years ago)
Author:
Martin Decky <martin@…>
Branches:
lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
Children:
63d46341
Parents:
76f566d
Message:

do not expose the call capability handler from the async framework

Keep the call capability handler encapsulated within the async framework
and do not expose it explicitly via its API. Use the pointer to
ipc_call_t as the sole object identifying an IPC call in the code that
uses the async framework.

This plugs a major leak in the abstraction and also simplifies both the
async framework (slightly) and all IPC servers.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • uspace/lib/drv/include/dev_iface.h

    r76f566d r984a9ba  
    4949 * devices driver.
    5050 */
    51 typedef void remote_iface_func_t(struct ddf_fun *, void *, cap_call_handle_t,
    52     ipc_call_t *);
     51typedef void remote_iface_func_t(struct ddf_fun *, void *, ipc_call_t *);
    5352typedef remote_iface_func_t *remote_iface_func_ptr_t;
    54 typedef void remote_handler_t(struct ddf_fun *, cap_call_handle_t, ipc_call_t *);
     53typedef void remote_handler_t(struct ddf_fun *, ipc_call_t *);
    5554
    5655typedef struct {
Note: See TracChangeset for help on using the changeset viewer.