Fork us on GitHub Follow us on Facebook Follow us on Twitter

Changeset 3f45993 in mainline


Ignore:
Timestamp:
2010-12-04T22:37:08Z (11 years ago)
Author:
Vojtech Horky <vojtechhorky@…>
Branches:
lfn, master
Children:
be9cbec
Parents:
b00dbb9
Message:

Add structure for keeping track of used USB addreses

Simple test is in tester::usbaddrkeep.

Location:
uspace
Files:
4 added
4 edited

Legend:

Unmodified
Added
Removed
  • uspace/app/tester/Makefile

    rb00dbb9 r3f45993  
    3131BINARY = tester
    3232
     33LIBS += $(LIBUSB_PREFIX)/libusb.a
     34EXTRA_CFLAGS += -I$(LIBUSB_PREFIX)/include
     35
    3336SOURCES = \
    3437        tester.c \
     38        adt/usbaddrkeep.c \
    3539        thread/thread1.c \
    3640        print/print1.c \
  • uspace/app/tester/tester.c

    rb00dbb9 r3f45993  
    6565#include "mm/malloc1.def"
    6666#include "hw/serial/serial1.def"
     67#include "adt/usbaddrkeep.def"
    6768        {NULL, NULL, NULL, false}
    6869};
  • uspace/app/tester/tester.h

    rb00dbb9 r3f45993  
    8282extern const char *test_malloc1(void);
    8383extern const char *test_serial1(void);
     84extern const char *test_usbaddrkeep(void);
    8485
    8586extern test_t tests[];
  • uspace/lib/usb/Makefile

    rb00dbb9 r3f45993  
    3333
    3434SOURCES = \
     35        src/addrkeep.c \
    3536        src/hcdhubd.c \
    3637        src/hcdrv.c \
Note: See TracChangeset for help on using the changeset viewer.