Changeset 73a5857 in mainline for uspace/drv/bus/usb/xhci/hc.h


Ignore:
Timestamp:
2018-01-31T23:31:05Z (8 years ago)
Author:
Ondřej Hlavatý <aearsis@…>
Branches:
lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
Children:
53fdf8c
Parents:
2ca5a198
Message:

usbhost: add joinable_fibril utility

File:
1 edited

Legend:

Unmodified
Added
Removed
  • uspace/drv/bus/usb/xhci/hc.h

    r2ca5a198 r73a5857  
    3939#include <fibril_synch.h>
    4040#include <usb/host/usb_transfer_batch.h>
     41#include <usb/host/utility.h>
    4142#include "hw_struct/regs.h"
    4243#include "hw_struct/context.h"
     
    7879        xhci_sw_ring_t sw_ring;
    7980
    80         struct {
    81                 fibril_mutex_t guard;
    82                 fibril_condvar_t cv;
    83                 bool active;
    84         } event_fibril_completion;
     81        /** Event handling fibril */
     82        joinable_fibril_t *event_worker;
    8583
    8684        /* Root hub emulation */
Note: See TracChangeset for help on using the changeset viewer.