Ignore:
Timestamp:
2010-10-10T09:00:53Z (14 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/srv/hw/bus/usb/hcd/virtual/hc.h

    r4bc309b rbc9a629  
    4242void hc_manager(void);
    4343
    44 void hc_add_out_transaction(usb_transfer_type_t type, usb_target_t target,
     44void hc_add_transaction_to_device(usb_transfer_type_t type, usb_target_t target,
    4545    void * buffer, size_t len,
    4646    hc_transaction_done_callback_t callback, void * arg);
    4747
    48 void hc_add_in_transaction(usb_transfer_type_t type, usb_target_t target,
     48void hc_add_transaction_from_device(usb_transfer_type_t type, usb_target_t target,
    4949    void * buffer, size_t len,
    5050    hc_transaction_done_callback_t callback, void * arg);
    5151
     52int hc_fillin_transaction_from_device(usb_transfer_type_t type, usb_target_t target,
     53    void * buffer, size_t len);
    5254
    5355#endif
Note: See TracChangeset for help on using the changeset viewer.