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


Ignore:
Timestamp:
2018-01-31T23:31:05Z (7 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/rh.h

    r2ca5a198 r73a5857  
    3737#define XHCI_RH_H
    3838
     39#include <usb/host/bus.h>
    3940#include <usb/host/usb_transfer_batch.h>
    40 #include <usb/host/bus.h>
     41#include <usb/host/utility.h>
    4142
    4243#include "hw_struct/regs.h"
     
    7778        xhci_sw_ring_t event_ring;
    7879
    79         struct {
    80                 fibril_mutex_t guard;
    81                 fibril_condvar_t cv;
    82                 bool active;
    83         } event_fibril_completion;
     80        joinable_fibril_t *event_worker;
    8481} xhci_rh_t;
    8582
Note: See TracChangeset for help on using the changeset viewer.