Ignore:
Timestamp:
2018-01-05T20:15:08Z (6 years ago)
Author:
Ondřej Hlavatý <aearsis@…>
Branches:
lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
Children:
9e5b162
Parents:
b60944b
git-author:
Ondřej Hlavatý <aearsis@…> (2018-01-05 16:11:04)
git-committer:
Ondřej Hlavatý <aearsis@…> (2018-01-05 20:15:08)
Message:

ehci: refactor to dma_buffers

One big hidden thing was refactored - now TDs are allocated in one
buffer together with setup and data buffers themselves. This reduces the
number of allocated pages per transfer to minimum.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • uspace/lib/usbhost/include/usb/host/dma_buffer.h

    rb60944b r35c37fc  
    6060extern int dma_buffer_alloc_policy(dma_buffer_t *, size_t, dma_policy_t);
    6161extern void dma_buffer_free(dma_buffer_t *);
     62extern uintptr_t dma_buffer_phys(const dma_buffer_t *, void *);
    6263
    6364static inline int dma_buffer_is_set(dma_buffer_t *db)
Note: See TracChangeset for help on using the changeset viewer.