Ignore:
Timestamp:
2011-02-01T23:25:48Z (13 years ago)
Author:
Jan Vesely <jano.vesely@…>
Branches:
lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
Children:
1f5c1e61
Parents:
c56dbe0
Message:

Refactoring uhci_ functions are called on uhci_t not device_t

File:
1 edited

Legend:

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

    rc56dbe0 r5944244  
    3636#define DRV_UHCI_QH_H
    3737
     38/* libc */
    3839#include <assert.h>
    3940
    4041#include "link_pointer.h"
     42#include "utils/malloc32.h"
    4143
    4244typedef struct queue_head {
     
    5961}
    6062
     63static inline queue_head_t * queue_head_get()
     64        { return malloc32(sizeof(queue_head_t)); }
     65
     66static inline void queue_head_dispose(queue_head_t *head)
     67        { free32(head); }
     68
     69
    6170#endif
    6271/**
Note: See TracChangeset for help on using the changeset viewer.