Changeset 8cbc167 in mainline


Ignore:
Timestamp:
2017-07-06T12:12:14Z (7 years ago)
Author:
Jaroslav Jindrak <dzejrou@…>
Branches:
lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
Children:
b19131c5
Parents:
d6133f1
Message:

changed dcbaa to array of pointers, see section 6.1

Location:
uspace/drv/bus/usb/xhci
Files:
2 edited

Legend:

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

    rd6133f1 r8cbc167  
    196196        int err;
    197197
    198         hc->dcbaa = malloc32((1 + hc->max_slots) * sizeof(xhci_device_ctx_t));
     198        hc->dcbaa = malloc32((1 + hc->max_slots) * sizeof(xhci_device_ctx_t*));
    199199        if (!hc->dcbaa)
    200200                return ENOMEM;
  • uspace/drv/bus/usb/xhci/hc.h

    rd6133f1 r8cbc167  
    6262        xhci_trb_ring_t command_ring;
    6363        xhci_event_ring_t event_ring;
    64         xhci_device_ctx_t *dcbaa;
     64        xhci_device_ctx_t **dcbaa;
    6565
    6666        /* Cached capabilities */
Note: See TracChangeset for help on using the changeset viewer.