Changeset bc9a629 in mainline for uspace/lib/usb/hcd.h


Ignore:
Timestamp:
2010-10-10T09:00:53Z (15 years ago)
Author:
Vojtech Horky <vojtechhorky@…>
Branches:
lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
Children:
b371844
Parents:
4bc309b
Message:

Start work on virtual USB keyboard

The virtual HC(D) is now able to serve as HCD towards central USB driver
as well as virtual HC towards virtual devices.

Each device is a separate task that communicates with VHCD through simple
protocol.

Will clean and comment the code in next revisions. Promise.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • uspace/lib/usb/hcd.h

    r4bc309b rbc9a629  
    7575        usb_endpoint_t endpoint;
    7676} usb_target_t;
     77
     78static inline int usb_target_same(usb_target_t a, usb_target_t b)
     79{
     80        return (a.address == b.address)
     81            && (a.endpoint == b.endpoint);
     82}
    7783
    7884/** Opaque handle of active USB transaction.
Note: See TracChangeset for help on using the changeset viewer.