Changeset 706a3e2 in mainline for uspace/drv/bus/usb/xhci/hc.h


Ignore:
Timestamp:
2017-08-18T16:21:33Z (7 years ago)
Author:
Jaroslav Jindrak <dzejrou@…>
Branches:
lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
Children:
5ff9e1d
Parents:
e439f468
Message:

Dcbaa_virt now points to virtual device contexts that contain pointers to trb rings of each of their endpoints for deallocation.

File:
1 edited

Legend:

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

    re439f468 r706a3e2  
    4343#include "trb_ring.h"
    4444
     45typedef struct xhci_virt_device_ctx {
     46    xhci_device_ctx_t *dev_ctx;
     47    xhci_trb_ring_t *trs[XHCI_EP_COUNT];
     48} xhci_virt_device_ctx_t;
     49
    4550/**
    4651 * xHCI lets the controller define speeds of ports it controls.
     
    6772        xhci_event_ring_t event_ring;
    6873        uint64_t *dcbaa;
    69         xhci_device_ctx_t **dcbaa_virt;
     74        xhci_virt_device_ctx_t **dcbaa_virt;
    7075        xhci_scratchpad_t *scratchpad;
    7176
Note: See TracChangeset for help on using the changeset viewer.