Changeset cd50486 in mainline for uspace/lib/usb/include


Ignore:
Timestamp:
2011-02-06T22:03:55Z (15 years ago)
Author:
Vojtech Horky <vojtechhorky@…>
Branches:
lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
Children:
25971d2
Parents:
1110ebd (diff), 960ff451 (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 development/ changes

Location:
uspace/lib/usb/include/usb
Files:
1 added
4 edited

Legend:

Unmodified
Added
Removed
  • uspace/lib/usb/include/usb/descriptor.h

    r1110ebd rcd50486  
    3636#define LIBUSB_DESCRIPTOR_H_
    3737
    38 #include <ipc/ipc.h>
    3938#include <async.h>
    4039
  • uspace/lib/usb/include/usb/devreq.h

    r1110ebd rcd50486  
    3636#define LIBUSB_DEVREQ_H_
    3737
    38 #include <ipc/ipc.h>
    3938#include <async.h>
    4039#include <usb/usb.h>
     
    7069        /** Main parameter to the request. */
    7170        union {
     71                uint16_t value;
    7272                /* FIXME: add #ifdefs according to host endianess */
    7373                struct {
     
    7575                        uint8_t value_high;
    7676                };
    77                 uint16_t value;
    7877        };
    7978        /** Auxiliary parameter to the request.
  • uspace/lib/usb/include/usb/usb.h

    r1110ebd rcd50486  
    3838#include <sys/types.h>
    3939#include <byteorder.h>
    40 #include <ipc/ipc.h>
    4140
    4241/** Convert 16bit value from native (host) endianness to USB endianness. */
  • uspace/lib/usb/include/usb/usbmem.h

    r1110ebd rcd50486  
    11/*
    2  * Copyright (c) 2010 Matus Dekanek
     2 * Copyright (c) 2011 Matus Dekanek
    33 * All rights reserved.
    44 *
     
    3535 * @{
    3636 */
    37 /** @file definitions of special memory management, used mostly in usb stack
     37/** @file definitions of memory management with address translation, used mostly in usb stack
    3838 *
    3939 * USB HCD needs traslation between physical and virtual addresses. These
     
    5959
    6060extern void * mman_malloc(
    61                 size_t size,
    62                 size_t alignment,
    63                 unsigned long max_physical_address);
     61    size_t size,
     62    size_t alignment,
     63    unsigned long max_physical_address);
    6464
    6565extern void * mman_getVA(void * addr);
Note: See TracChangeset for help on using the changeset viewer.