Changeset b80c1ab in mainline for uspace/drv/bus/usb/xhci/commands.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/commands.h

    rcfe4852 rb80c1ab  
    4040#include <stdbool.h>
    4141#include <fibril_synch.h>
     42#include <usb/host/dma_buffer.h>
    4243#include "hw_struct/trb.h"
    4344
     
    9394        uint16_t stream_id;
    9495
    95         xhci_input_ctx_t *input_ctx;
    96         xhci_port_bandwidth_ctx_t *bandwidth_ctx;
     96        dma_buffer_t input_ctx, bandwidth_ctx;
    9797        uintptr_t dequeue_ptr;
    9898
Note: See TracChangeset for help on using the changeset viewer.