Ignore:
Timestamp:
2017-07-12T16:11:22Z (7 years ago)
Author:
Jaroslav Jindrak <dzejrou@…>
Branches:
lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
Children:
481af21e
Parents:
c9c0e41
Message:

The xHC now properly gets the physical addresses (with correct endianity) of its scratchpad buffers.

File:
1 edited

Legend:

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

    rc9c0e41 rfd9f4ffe  
    4141#define XHCI_SCRATCHPAD_H
    4242
     43typedef struct xhci_hc xhci_hc_t;
     44
    4345typedef struct xhci_scratchpad {
    44         uint64_t sp_ptr;
     46        /* Pointers to scratchpad buffers used by the xHC. */
     47        uint64_t phys_ptr;
     48        /* Pointers to scratchpad buffers used for deallocation. */
     49        uint64_t virt_ptr;
     50        /* Pointers to the scratchpad array used for deallocation. */
     51        uint64_t phys_bck;
    4552} xhci_scratchpad_t;
    4653
Note: See TracChangeset for help on using the changeset viewer.