Changeset 476f62c in mainline for uspace/app


Ignore:
Timestamp:
2014-01-17T17:26:48Z (12 years ago)
Author:
Jan Vesely <jano.vesely@…>
Branches:
lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
Children:
5828554, cf982ff
Parents:
61b5b73d (diff), 66be0288 (diff)
Note: this is a merge changeset, the changes displayed below correspond to the merge itself.
Use the (diff) links above to see all the changes relative to each parent.
Message:

Merge libdrv cleanup.

  • move 'client side' device iface to libdrv (from libc)
  • hide remote_* libdrv headers
  • add a bunch of const qualifiers and change static data to const
  • cleanup: index initialized arrays, array size macro, removes duplicit enums, …

TODO

move hw_res, pio_window and co to libdrv. (too entangled with libc to move right now)
move clock_dev iface to libdrv. (also tied to libc, we need a time provider solution)

Location:
uspace/app
Files:
7 edited

Legend:

Unmodified
Added
Removed
  • uspace/app/mkbd/Makefile

    r61b5b73d r476f62c  
    3434        $(LIBUSBDEV_PREFIX)/libusbdev.a \
    3535        $(LIBUSB_PREFIX)/libusb.a \
    36         $(LIBDRV_PREFIX)/libdrv.a
     36        $(LIBDRV_PREFIX)/libdrv.a
     37
    3738EXTRA_CFLAGS = \
    3839        -I$(LIBUSB_PREFIX)/include \
  • uspace/app/mkbd/main.c

    r61b5b73d r476f62c  
    4545#include <loc.h>
    4646#include <usb/dev/hub.h>
    47 #include <usb/hid/iface.h>
     47#include <usbhid_iface.h>
    4848#include <usb/dev/pipes.h>
    4949#include <async.h>
  • uspace/app/sportdmp/Makefile

    r61b5b73d r476f62c  
    2828
    2929USPACE_PREFIX = ../..
    30 #LIBS =
    31 #EXTRA_CFLAGS =
     30LIBS = $(LIBDRV_PREFIX)/libdrv.a
     31EXTRA_CFLAGS = -I$(LIBDRV_PREFIX)/include
    3232BINARY = sportdmp
    3333
  • uspace/app/sportdmp/sportdmp.c

    r61b5b73d r476f62c  
    2727 */
    2828
    29 #include <device/char_dev.h>
     29#include <char_dev_iface.h>
    3030#include <errno.h>
    3131#include <ipc/serial_ctl.h>
  • uspace/app/tester/Makefile

    r61b5b73d r476f62c  
    2929
    3030USPACE_PREFIX = ../..
    31 LIBS = $(LIBBLOCK_PREFIX)/libblock.a $(LIBSOFTFLOAT_PREFIX)/libsoftfloat.a
    32 EXTRA_CFLAGS = -I$(LIBBLOCK_PREFIX) -I$(LIBSOFTFLOAT_PREFIX)
     31LIBS = \
     32        $(LIBBLOCK_PREFIX)/libblock.a \
     33        $(LIBSOFTFLOAT_PREFIX)/libsoftfloat.a \
     34        $(LIBDRV_PREFIX)/libdrv.a
     35
     36EXTRA_CFLAGS = \
     37        -I$(LIBBLOCK_PREFIX) \
     38        -I$(LIBSOFTFLOAT_PREFIX) \
     39        -I$(LIBDRV_PREFIX)/include
     40
    3341BINARY = tester
    3442
  • uspace/app/tester/hw/misc/virtchar1.c

    r61b5b73d r476f62c  
    4040#include <sys/types.h>
    4141#include <async.h>
    42 #include <device/char_dev.h>
     42#include <char_dev_iface.h>
    4343#include <str.h>
    4444#include <vfs/vfs.h>
  • uspace/app/tester/hw/serial/serial1.c

    r61b5b73d r476f62c  
    4343#include <ipc/services.h>
    4444#include <loc.h>
    45 #include <device/char_dev.h>
     45#include <char_dev_iface.h>
    4646#include <str.h>
    4747#include <ipc/serial_ctl.h>
Note: See TracChangeset for help on using the changeset viewer.