Changeset e0df6c2 in mainline for uspace/drv/uhci-hcd/transfer_list.h


Ignore:
Timestamp:
2011-02-12T03:04:40Z (13 years ago)
Author:
Jan Vesely <jano.vesely@…>
Branches:
lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
Children:
67b6fc5
Parents:
d6115e5
Message:

Fix: properly check whether the removed batch is the first in the list
Add mutex to guard tranfser list

File:
1 edited

Legend:

Unmodified
Added
Removed
  • uspace/drv/uhci-hcd/transfer_list.h

    rd6115e5 re0df6c2  
    3535#define DRV_UHCI_TRANSFER_LIST_H
    3636
     37#include <fibril_synch.h>
     38
    3739#include "uhci_struct/queue_head.h"
    3840
     
    4143typedef struct transfer_list
    4244{
     45        fibril_mutex_t guard;
    4346        queue_head_t *queue_head;
    4447        uint32_t queue_head_pa;
     
    5154
    5255void transfer_list_set_next(transfer_list_t *instance, transfer_list_t *next);
    53 
    5456
    5557static inline void transfer_list_fini(transfer_list_t *instance)
Note: See TracChangeset for help on using the changeset viewer.