Ignore:
Timestamp:
2013-12-31T20:30:53Z (10 years ago)
Author:
Jan Vesely <jano.vesely@…>
Branches:
lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
Children:
5c65e61
Parents:
7858acbf
Message:

libc, libdrv: Move graph dev iface to libdrv.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • uspace/lib/drv/generic/remote_graph_dev.c

    r7858acbf r67472b9b  
    3636#include <async.h>
    3737#include <macros.h>
    38 #include <device/graph_dev.h>
    3938
    4039#include "ops/graph_dev.h"
     40#include "graph_iface.h"
    4141#include "ddf/driver.h"
     42
     43typedef enum {
     44        GRAPH_DEV_CONNECT = 0
     45} graph_dev_method_t;
     46
     47int graph_dev_connect(async_sess_t *sess)
     48{
     49        async_exch_t *exch = async_exchange_begin(sess);
     50        int ret = async_req_1_0(exch, DEV_IFACE_ID(GRAPH_DEV_IFACE), GRAPH_DEV_CONNECT);
     51        async_exchange_end(exch);
     52
     53        return ret;
     54}
    4255
    4356static void remote_graph_connect(ddf_fun_t *, void *, ipc_callid_t, ipc_call_t *);
Note: See TracChangeset for help on using the changeset viewer.