Changeset a2b0ba3 in mainline for uspace/drv/bus/usb/xhci/trb_ring.h


Ignore:
Timestamp:
2017-10-03T11:31:18Z (7 years ago)
Author:
Jaroslav Jindrak <dzejrou@…>
Branches:
lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
Children:
a1eb7c67
Parents:
1f76b7d
Message:

Added synchronization to trb rin enqueue.

File:
1 edited

Legend:

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

    r1f76b7d ra2b0ba3  
    4444
    4545#include <adt/list.h>
     46#include <fibril_synch.h>
    4647#include <libarch/config.h>
    4748
     
    6869        uintptr_t dequeue;              /* Last reported position of the dequeue pointer */
    6970        bool pcs;                       /* Producer Cycle State: section 4.9.2 */
     71
     72        fibril_mutex_t guard;
    7073} xhci_trb_ring_t;
    7174
Note: See TracChangeset for help on using the changeset viewer.