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


Ignore:
Timestamp:
2017-11-14T23:17:54Z (6 years ago)
Author:
Aearsis <Hlavaty.Ondrej@…>
Branches:
lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
Children:
e76c0ea
Parents:
cfe4852
git-author:
Aearsis <Hlavaty.Ondrej@…> (2017-11-14 23:15:24)
git-committer:
Aearsis <Hlavaty.Ondrej@…> (2017-11-14 23:17:54)
Message:

xhci: use dma_buffers instead of malloc32 util

A bit of refactoring was needed to adapt scratchpad buffers.

File:
1 edited

Legend:

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

    rcfe4852 rb80c1ab  
    4646#include <fibril_synch.h>
    4747#include <libarch/config.h>
     48#include <usb/host/dma_buffer.h>
    4849
    4950typedef struct trb_segment trb_segment_t;
     
    104105        uintptr_t dequeue_ptr;          /* Physical address of the ERDP to be reported to the HC */
    105106
    106         xhci_erst_entry_t *erst;        /* ERST given to the HC */
     107        dma_buffer_t erst;              /* ERST given to the HC */
    107108
    108109        bool ccs;                       /* Consumer Cycle State: section 4.9.2 */
Note: See TracChangeset for help on using the changeset viewer.