Ignore:
Timestamp:
2010-10-10T11:53:05Z (14 years ago)
Author:
Vojtech Horky <vojtechhorky@…>
Branches:
lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
Children:
b8100da
Parents:
bc9a629
Message:

Virtual HCD refactoring

Splitted into more files, added more comments.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • uspace/srv/hw/bus/usb/hcd/virtual/hc.h

    rbc9a629 rb371844  
    3838#include <usb/hcd.h>
    3939
    40 typedef void (*hc_transaction_done_callback_t)(void *, size_t, usb_transaction_outcome_t, void *);
     40/** Callback after transaction is sent to USB.
     41 *
     42 * @param buffer Transaction data buffer.
     43 * @param size Transaction data size.
     44 * @param outcome Transaction outcome.
     45 * @param arg Custom argument.
     46 */
     47typedef void (*hc_transaction_done_callback_t)(void *buffer, size_t size,
     48    usb_transaction_outcome_t outcome, void *arg);
    4149
    4250void hc_manager(void);
Note: See TracChangeset for help on using the changeset viewer.