Changeset 67472b9b in mainline


Ignore:
Timestamp:
2013-12-31T20:30:53Z (11 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.

Location:
uspace
Files:
1 deleted
4 edited
1 moved

Legend:

Unmodified
Added
Removed
  • uspace/lib/c/Makefile

    r7858acbf r67472b9b  
    7171        generic/device/char_dev.c \
    7272        generic/device/clock_dev.c \
    73         generic/device/graph_dev.c \
    7473        generic/dhcp.c \
    7574        generic/dnsr.c \
  • 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 *);
  • uspace/lib/drv/include/graph_iface.h

    r7858acbf r67472b9b  
    3838#include <async.h>
    3939
    40 typedef enum {
    41         GRAPH_DEV_CONNECT = 0
    42 } graph_dev_method_t;
    43 
    4440extern int graph_dev_connect(async_sess_t *);
    4541
  • uspace/srv/hid/compositor/Makefile

    r7858acbf r67472b9b  
    2828
    2929USPACE_PREFIX = ../../..
    30 LIBS = $(LIBDRAW_PREFIX)/libdraw.a $(LIBSOFTREND_PREFIX)/libsoftrend.a \
    31         $(LIBSOFTFLOAT_PREFIX)/libsoftfloat.a
    32 EXTRA_CFLAGS += -I$(LIBDRAW_PREFIX) -I$(LIBSOFTREND_PREFIX)
     30LIBS = \
     31        $(LIBDRAW_PREFIX)/libdraw.a \
     32        $(LIBSOFTREND_PREFIX)/libsoftrend.a \
     33        $(LIBSOFTFLOAT_PREFIX)/libsoftfloat.a \
     34        $(LIBDRV_PREFIX)/libdrv.a
     35
     36EXTRA_CFLAGS += \
     37        -I$(LIBDRAW_PREFIX) \
     38        -I$(LIBSOFTREND_PREFIX) \
     39        -I$(LIBDRV_PREFIX)/include
     40
    3341BINARY = compositor
    3442
  • uspace/srv/hid/compositor/compositor.c

    r7858acbf r67472b9b  
    5858
    5959#include <event.h>
    60 #include <device/graph_dev.h>
     60#include <graph_iface.h>
    6161#include <io/keycode.h>
    6262#include <io/mode.h>
Note: See TracChangeset for help on using the changeset viewer.